← Vulnerabilities

HighAdvisoryRuby

Rack: Multipart parser searches the load path for every unknown part `charset`, allowing denial of service via CPU exhaustion

Affected

PackageAffected versionsFixed in
rubygems:rack>= 3.0.0, < 3.1.243.1.24
rubygems:rack>= 3.2.0, < 3.2.93.2.9

Rack::Multipart::Parser#tag_multipart_encoding calls Encoding.find once for every charset parameter in the Content-Type header of a multipart part. When the name is not a known encoding, Ruby's Encoding.find attempts to load an encoding library of that name, which searches every directory on $LOAD_PATH before failing. Rack rescues the resulting ArgumentError and falls back to binary, does not remember the failure, and does not limit the number of charset parameters a part may carry. An attacker…

Read on GitHub Advisory Database

On 12/04/2026, 08:55 AM, GitHub Advisory Database published "Rack: Multipart parser searches the load path for every unknown part `charset`, allowing denial of service via CPU exhaustion" (type: Advisory). Severity is "High" (high). Related technologies: Ruby. CVE: CVE-2026-142592.