Vulnerability in Ruby Webrick
CVE-2025-6442
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.
Vulnerability class: HTTP Request Smuggling
EPSS: 0.004 (34.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Ruby Webrick — versions 1.8.1
- Ruby-lang Webrick
Weakness classification (CWE)
Public proof-of-concept exploits
References
- zdi-disclosures@trendmicro.com (x_research-advisory, Third Party Advisory)
- zdi-disclosures@trendmicro.com (vendor-advisory, Patch)
Frequently asked questions
- What is CVE-2025-6442?
- CVE-2025-6442 is a medium-severity vulnerability in Ruby Webrick, classified under Inconsistent Interpretation of HTTP Requests (HTTP Request/Response Smuggling). CVSS score: 5.9/10. Published 2025-06-25.
- How severe is CVE-2025-6442?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2025-6442 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.