CVE-2026-142592 - Rack: Multipart parser searches the load path for every unknown part `charset`, allowing denial of service via CPU exhaustion.
Vulnerability · Reported by NVD · · CWE-400
- Severity
- High Risk score 75/100
- CVSS
- 7.5 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a uncontrolled resource consumption flaw (CWE-400). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could crash or disrupt the service.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Tags
CVE-2026-142592
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-142592 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.