Home / Rack Project / Rack / CVE-2012-6109
CVE-2012-6109: is it exploited, and which versions of Rack Project Rack are affected and fixed?
CVE-2012-6109 is an infinite loop (denial of service) vulnerability in Rack Project Rack. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: rack before 1.1.4, rack from 1.2.0 before 1.2.6, rack from 1.3.0 before 1.3.7 and 1 more (GitHub advisory GHSA-h77x-m5q8-c29h). Fixed in 1.1.4, 1.2.6, 1.3.7 and 1.4.2 (GitHub advisory GHSA-h77x-m5q8-c29h). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-6109?
lib/rack/multipart.rb in Rack before 1.1.4, 1.2.x before 1.2.6, 1.3.x before 1.3.7, and 1.4.x before 1.4.2 uses an incorrect regular expression, which allows remote attackers to cause a denial of service (infinite loop) via a crafted Content-Disposion header.
From the CVE record by redhat, last updated August 6, 2024, 21:28 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rack | < 1.1.4 | 1.1.4 | GHSA-h77x-m5q8-c29h |
| RubyGems | rack | >= 1.2.0, < 1.2.6 | 1.2.6 | GHSA-h77x-m5q8-c29h |
| RubyGems | rack | >= 1.3.0, < 1.3.7 | 1.3.7 | GHSA-h77x-m5q8-c29h |
| RubyGems | rack | >= 1.4.0, < 1.4.2 | 1.4.2 | GHSA-h77x-m5q8-c29h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 25, 2023. Summary: Rack vulnerable to REDoS.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rack project | rack | through 1.1.3 | application |
| rack project | rack | 0.1 | application |
| rack project | rack | 0.2 | application |
| rack project | rack | 0.3 | application |
| rack project | rack | 0.4 | application |
| rack project | rack | 0.9 | application |
| rack project | rack | 0.9.1 | application |
| rack project | rack | 1.0.0 | application |
| rack project | rack | 1.0.1 | application |
| rack project | rack | 1.1.0 | application |
| rack project | rack | 1.1.2 | application |
| rack project | rack | 1.2.0 | application |
| rack project | rack | 1.2.1 | application |
| rack project | rack | 1.2.2 | application |
| rack project | rack | 1.2.3 | application |
| rack project | rack | 1.2.4 | application |
| rack project | rack | 1.3.0 | application |
| rack project | rack | 1.3.1 | application |
| rack project | rack | 1.3.2 | application |
| rack project | rack | 1.3.3 | application |
| rack project | rack | 1.3.4 | application |
| rack project | rack | 1.3.5 | application |
| rack project | rack | 1.3.6 | application |
| rack project | rack | 1.4.0 | application |
| rack project | rack | 1.4.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:47 UTC.
How severe is CVE-2012-6109?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-6109 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.72% probability of exploitation activity in the next 30 days, percentile 86.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=895277 x_refsource_MISC
- https://github.com/rack/rack/commit/c9f65df37a151821eb88ddd1dc404b83e52c52d5 x_refsource_CONFIRM
- http://rack.github.com/ x_refsource_CONFIRM
- https://github.com/rack/rack/blob/master/README.rdoc x_refsource_CONFIRM
- https://groups.google.com/forum/#%21msg/rack-devel/1w4_fWEgTdI/XAkSNHjtdTsJ x_refsource_MISC
- RHSA-2013:0548 vendor-advisory, x_refsource_REDHAT
- RHSA-2013:0544 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- December 6, 2012
- Published
- March 1, 2013, 02:00 UTC
- CVE record updated
- August 6, 2024, 21:28 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:47 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Rack?
- Jul 26, 2015CVE-2015-3225 Rack Project Rack: n/a
- Mar 1, 2013CVE-2013-0184 Rack Project Rack: n/a
- Mar 1, 2013CVE-2013-0183 Rack Project Rack: memory corruption (buffer overflow)
- Feb 8, 2013CVE-2013-0263 Rack Project Rack: n/a
- Feb 8, 2013CVE-2013-0262 Rack Project Rack: path traversal (reading or writing files outside the intended folder)
- Dec 30, 2011CVE-2011-5036 Rack Project Rack: use of Weak Hash
Questions about CVE-2012-6109
Is CVE-2012-6109 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 2.72% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rack Project Rack are affected by CVE-2012-6109?
rack before 1.1.4, rack from 1.2.0 before 1.2.6, rack from 1.3.0 before 1.3.7 and rack from 1.4.0 before 1.4.2, per the GitHub advisory GHSA-h77x-m5q8-c29h. The tables above give every range the sources list.
Which version fixes CVE-2012-6109?
1.1.4, 1.2.6, 1.3.7 and 1.4.2, per the GitHub advisory GHSA-h77x-m5q8-c29h. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-6109?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-6109?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.