CVE-2006-6303: The read_multipart function in cgi.rb in Ruby before 1.8.5-p2 does not properly detect boundaries in MIME mult
CVE-2006-6303 is a medium-severity flaw (CVSS 5.0) affecting ruby. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The read_multipart function in cgi.rb in Ruby before 1.8.5-p2 does not properly detect boundaries in MIME multipart content, which allows remote attackers to cause a denial of service (infinite loop) via crafted HTTP requests, a different issue than CVE-2006-5467.
Why this priority
- EPSS top 10%: very likely to be exploited
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.0 (Medium) |
| EPSS exploit chance | 3.8% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-399 |
| Published | 2006-12-06 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2006-6303?
ruby: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2006-6303 being exploited?
CVE-2006-6303 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2006-6303 affect?
CVE-2006-6303 affects ruby. Severity is medium (CVSS 5.0). The read_multipart function in cgi.rb in Ruby before 1.8.5-p2 does not properly detect boundaries in MIME multipart content, which allows remote attackers to cause a denial of service (infinite loop) via crafted HTTP requests, a different i
How urgent is CVE-2006-6303?
Priority 40/100. EPSS top 10%: very likely to be exploited
Software pages
Related CVEs
- CVE-2026-97229 CRITICAL 10.0 EXPLOITED UPGRADE UPGRADE GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability
- CVE-2026-46727 HIGH 8.1 UPGRADE An issue was discovered in Ruby 4 before 4.0.5
- CVE-2023-28756 MEDIUM 5.3 UPGRADE DOWNGRADE A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1
- CVE-2022-28739 HIGH 7.5 UPGRADE MITIGATE There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.
- CVE-2022-28738 CRITICAL 9.8 UPGRADE A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2