CVE-2025-6442
MEDIUM 5.9CVSS 3.1Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling
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.
- Published
- 25 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Analyzed
- Weakness
- CWE-444
- Also known as
- GHSA-r995-q44h-hr64
- Sources
- NVDJSONOSV GHSA-r995-q44h-hr64JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | webrickcpe:2.3:a:ruby-lang:webrick:*:*:*:*:*:ruby:*:* |
< 1.8.2 | 1.8.2 |
| OSV | RubyGems | webrick | < 1.8.2 | 1.8.2 |
References
- https://github.com/ruby/webrick/commit/ee60354bcb84ec33b9245e1d1aa6e1f7e8132101#diff-ad02984d873efb089aa51551bc6b7d307a53e0ba1ac439e91d69c2e58a478864 · Patch, WEB
- https://www.zerodayinitiative.com/advisories/ZDI-25-414/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6442 · ADVISORY
- https://github.com/ruby/webrick · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2025-6442.yml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 25 Jun 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Jun 2025)