CVE-2008-3656 in Ruby-Lang Ruby
Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows context-dependent attackers to cause a denial of service (CPU consumpt...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ruby-Lang | Ruby | 1.8.6 1.8.7 1.9.0 ≤ 1.8.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted HTTP request that is processed by a backtracking regular expression.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-3656 |
|---|---|
| BreachSpider ID | BS-2008-GLOBAL-159900-H |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| Published | 2008-08-13 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-399: Resource Management Errors
Broad class covering failures in managing system resources such as memory, file handles, and connections.
Analysis AI-written, not human-reviewed
A vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby versions 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows attackers to cause a denial of service (CPU consumption) by sending a crafted HTTP request.
The vulnerability is caused by a backtracking regular expression in the WEBrick::HTTPUtils.split_header_value function. An attacker can exploit this by sending a specially crafted HTTP request that triggers excessive CPU usage, leading to a denial of service.
Questions
What is CVE-2008-3656?
A vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby versions 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows attackers to cause a denial of service (CPU consumption) by sending a crafted HTTP request.
What is the CVSS score for CVE-2008-3656?
CVE-2008-3656 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C. EPSS: 70.2%.
Is CVE-2008-3656 actively exploited?
Public exploit available for CVE-2008-3656. Exploitation risk elevated.
How do I remediate CVE-2008-3656?
Priority: HIGH.
What systems are affected by CVE-2008-3656?
CVE-2008-3656 affects Ruby-Lang Ruby.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ruby-Lang","product":"Ruby","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.