# CVE-2025-6442: Ruby WEBrick read\_header HTTP Request Smuggling Vulnerability

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-25 · Modified: 2025-06-25
- Aliases: UBUNTU-CVE-2025-6442, USN-7709-1, DEBIAN-CVE-2025-6442, GHSA-r995-q44h-hr64
- Record: https://cvemate.com/vulnerability/CVE-2025-6442 · JSON: https://cvemate.com/vulnerability/CVE-2025-6442/json

## Description

```text
Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions.

The specific flaw exists within the read_headers method. The issue results from the inconsistent parsing of terminators of HTTP headers. An attacker can leverage this vulnerability to smuggle arbitrary HTTP requests. Was ZDI-CAN-21876.
```

## Signals

- CVSS: 6.5 medium (v3.0, CVE.org) CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- EPSS: 0.52%, percentile 45.72%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian ruby-webrick (Debian): All versions (No fix recorded) \| \< 1.9.1-1
- ubuntu jruby (Ubuntu): All versions (No fix recorded)
- ubuntu ruby-webrick (Ubuntu): \< 1.7.0-3ubuntu0.2 \| \< 1.8.1-1ubuntu0.2 \| \< 1.9.1-1
- ubuntu ruby2.3 (Ubuntu): \< 2.3.1-2~ubuntu16.04.16+esm11
- ubuntu ruby2.5 (Ubuntu): \< 2.5.1-1ubuntu1.16+esm6
- ubuntu ruby2.7 (Ubuntu): \< 2.7.0-5ubuntu1.18+esm3
- RubyGems webrick (RubyGems): \< 1.8.2
- ruby-lang webrick: \< 1.8.2
- ruby webrick: 1.8.1

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-25-414/>
- <https://github.com/ruby/webrick/commit/ee60354bcb84ec33b9245e1d1aa6e1f7e8132101#diff-ad02984d873efb089aa51551bc6b7d307a53e0ba1ac439e91d69c2e58a478864>
- <https://ubuntu.com/security/CVE-2025-6442>
- <https://www.cve.org/CVERecord?id=CVE-2025-6442>
- <https://ubuntu.com/security/notices/USN-7709-1>
- <https://ubuntu.com/security/notices/USN-7840-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-6442>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6442>
- <https://github.com/ruby/webrick>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2025-6442.yml>
- <https://www.zerodayinitiative.com/advisories/ZDI-25-414>

---

Data as of 2026-12-05T04:20:50.866Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
