CVE-2026-142592
HIGH 7.5CVSS 3.1Rack: Multipart parser searches the load path for every unknown part `charset`, allowing denial of service via CPU exhaustion.
Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, Rack::Multipart::Parser#tag_multipart_encoding calls Encoding.find for every charset parameter in a multipart part's Content-Type header without first checking Encoding.name_list. For an unknown name, Ruby searches each directory on $LOAD_PATH for an encoding library before raising ArgumentError, and Rack catches the exception without caching the failure or limiting repeated charset parameters. An unauthenticated attacker can send thousands of unknown charset parameters in a relatively small multipart request, occupying a worker thread for tens of seconds or longer, with cost increasing as the application's load path grows. Rack 2.2 is not affected by this denial of service because the first unknown charset aborts parsing. This issue is fixed in versions 3.1.24 and 3.2.9.
- Published
- 2 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400
- Also known as
- GHSA-58mf-c3jj-277p
- Sources
- NVDJSONCVE ListJSONOSV GHSA-58mf-c3jj-277pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | rack | rack | = >= 3.0.0, < 3.1.24; = >= 3.2.0, < 3.2.9 | |
| OSV | RubyGems | rack | >= 3.0.0, < 3.1.24 | 3.1.24 |
| OSV | RubyGems | rack | >= 3.2.0, < 3.2.9 | 3.2.9 |
References
- https://github.com/rack/rack/commit/7c16c669fe2040ac395cf05a242f80527ddab16b · x_refsource_MISC, WEB
- https://github.com/rack/rack/commit/8ae2ea868a13eec2cfa7065a1ea8b527c567fad9 · x_refsource_MISC, WEB
- https://github.com/rack/rack/releases/tag/v3.1.24 · x_refsource_MISC, WEB
- https://github.com/rack/rack/releases/tag/v3.2.9 · x_refsource_MISC, WEB
- https://github.com/rack/rack/security/advisories/GHSA-58mf-c3jj-277p · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-142592 · ADVISORY
- https://github.com/rack/rack · PACKAGE
History
- 4 Dec 2026 01:56 UTC · OSV: first stored (published 3 Dec 2026)
- 3 Dec 2026 15:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 15:56 UTC · NVD: updated (other details)
- 2 Dec 2026 22:21 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 21:47 UTC · CVE List: first stored (published 2 Dec 2026)