Vulnerability · Published Jun 25, 2025 · Assigned by zdi

CVE-2025-6442Ruby WEBrick read_header HTTP Request Smuggling Vulnerability

Medium 6.5

In plain English

A medium-severity security flaw in WEBrick from Ruby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)6.5Medium
Exploit odds (30 days)0.5%top 57.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-webrickno fix listedDEBIAN-CVE-2025-6442
Debian:13ruby-webrick1.9.1-1DEBIAN-CVE-2025-6442
Debian:14ruby-webrick1.9.1-1DEBIAN-CVE-2025-6442
RubyGemswebrick1.8.2GHSA-r995-q44h-hr64
Ubuntu:22.04:LTSruby-webrick1.7.0-3ubuntu0.2UBUNTU-CVE-2025-6442
Ubuntu:22.04:LTSruby-webrick1.7.0-3ubuntu0.2USN-7709-1
Ubuntu:24.04:LTSruby-webrick1.8.1-1ubuntu0.2USN-7709-1
Ubuntu:24.04:LTSruby-webrick1.8.1-1ubuntu0.2UBUNTU-CVE-2025-6442
Ubuntu:25.10ruby-webrick1.9.1-1UBUNTU-CVE-2025-6442
Ubuntu:26.04:LTSruby-webrick1.9.1-1UBUNTU-CVE-2025-6442

Affected products (as reported)

VendorProductVersions
Ruby WEBrick 1.8.1

Weakness: CWE-444 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

References