CVE Catalog

CVE-2026-142592

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.64%

52th percentile - higher than 52% of all known CVEs

Summary

Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, the multipart parser calls Encoding.find for every unknown charset parameter without checking Encoding.name_list first, allowing an unauthenticated attacker to exhaust a worker thread by sending thousands of unknown charset parameters in a small multipart request.

Risk Assessment

An attacker can send a relatively small multipart request that occupies a worker thread for tens of seconds or longer, leading to resource exhaustion and denial of service. The cost increases with the application's load path size.

Recommendation

Update Rack to version 3.1.24 or 3.2.9 (or later). If updating is not possible, consider limiting the number of charset parameters in multipart requests at the proxy level.

Other vulnerabilities in Rack

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS