CVE-2026-142592
Published:December 02, 2026
Updated:December 03, 2026
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.
Affected Packages
https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=3.0.0.beta1 <v3.1.24 || >=v3.0.1 <v3.1.24Fix Suggestion:
Update to version v3.1.24https://github.com/rack/rack.git (GITHUB):
Affected version(s) >=v3.2.0 <v3.2.9Fix Suggestion:
Update to version v3.2.9rack (RUBY):
Affected version(s) >=3.2.0 <3.2.9Fix Suggestion:
Update to version 3.2.9rack (RUBY):
Affected version(s) >=3.0.0.beta1 <3.1.24Fix Suggestion:
Update to version 3.1.24Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption