CVE-2025-6442: ruby-lang webrick HTTP Request/Response Smuggling
Vulnerability summary
CVE-2025-6442 is a medium (CVSS 6.5) HTTP Request/Response Smuggling vulnerability in ruby-lang webrick. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 41.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 25-06-2025PublishedVulnerability first disclosed.
- 25-06-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- OSV · RubygemsEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- NVDNIST6.5MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
+0.02 pp
From 0.47% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu5 products
- jrubyAll versions (No fix recorded)
- ruby-webrick< 1.9.1-1 | < 1.7.0-3ubuntu0.2 | < 1.8.1-1ubuntu0.2
- ruby2.3< 2.3.1-2~ubuntu16.04.16+esm11
- ruby2.5< 2.5.1-1ubuntu1.16+esm6
- ruby2.7< 2.7.0-5ubuntu1.18+esm3
Debian1 product
- ruby-webrickAll versions (No fix recorded) | < 1.9.1-1
Ruby1 product
- webrick1.8.1
Ruby-lang1 product
- webrick< 1.8.2
RubyGems1 product
- webrick< 1.8.2
5 vendors · 9 products
References
11 links- github.com/ruby/webrickPACKAGE