# CVE-2006-6303: The readmultipart function in cgi.rb in Ruby before 1.8.5-p2 does not properly detect boundaries in MIME multipart content, which allows re…

- Severity: Medium 5.0 (CVSS:2.0, scored by NVD) `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.04%, higher than 90% of CVEs (2026-12-01)
- Published: 2006-12-06T19:00:00.000Z
- Modified: 2026-06-16T22:32:52.877Z
- Weaknesses: CWE-399
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- yukihiro_matsumoto ruby: 1.8; 1.8.1; 1.8.2; 1.8.2_pre1; 1.8.2_pre2; 1.8.3; 1.8.4; 1.8.5

## References

- <http://docs.info.apple.com/article.html?artnum=305530>
- <http://www.ubuntu.com/usn/usn-394-1> (vendor-advisory)
- <http://secunia.com/advisories/31090> (third-party-advisory)
- <http://secunia.com/advisories/27576> (third-party-advisory)
- <http://www.vupen.com/english/advisories/2007/1939> (vdb-entry)
- <http://jvn.jp/jp/JVN%2384798830/index.html> (third-party-advisory)
- <http://secunia.com/advisories/23268> (third-party-advisory)
- <http://lists.apple.com/archives/security-announce/2007/May/msg00004.html> (vendor-advisory)
- <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287> (patch)
- <http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/> (patch)
- <http://secunia.com/advisories/25402> (third-party-advisory)
- <http://secunia.com/advisories/23165> (third-party-advisory)
- <http://www.redhat.com/support/errata/RHSA-2007-0961.html> (vendor-advisory)
- <https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10529> (signature, vdb-entry)
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/30734> (vdb-entry)
- <http://securitytracker.com/id?1017363> (vdb-entry)
- <http://www.novell.com/linux/security/advisories/2007_4_sr.html> (vendor-advisory)
- <http://bugs.gentoo.org/show_bug.cgi?id=157048> (patch)
- <http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/cgi.rb.diff?f=h&only_with_tag=MAIN&r1=text&tr1=1.92&r2=text&tr2=1.91> (patch)
- <http://www.vupen.com/english/advisories/2006/4855> (vdb-entry)
- <http://www.mandriva.com/security/advisories?name=MDKSA-2006:225> (vendor-advisory)
- <http://security.gentoo.org/glsa/glsa-200612-21.xml> (vendor-advisory)
- <http://secunia.com/advisories/23454> (third-party-advisory)
- <http://www.securityfocus.com/bid/21441> (vdb-entry)

## Sources

- CVE List: [CVE-2006-6303](https://www.cve.org/CVERecord?id=CVE-2006-6303), CVE Terms of Use, modified 2024-08-07
- NVD: [CVE-2006-6303](https://nvd.nist.gov/vuln/detail/CVE-2006-6303), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2006-6303 · Whole record: https://cve.day/CVE-2006-6303.json · Rebuilt by cve.day 2026-11-25T22:56:58.773Z
