CVE-2026-142592

high

Description

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.

References

https://github.com/rack/rack/security/advisories/GHSA-58mf-c3jj-277p

https://github.com/rack/rack/releases/tag/v3.2.9

https://github.com/rack/rack/releases/tag/v3.1.24

https://github.com/rack/rack/commit/8ae2ea868a13eec2cfa7065a1ea8b527c567fad9

https://github.com/rack/rack/commit/7c16c669fe2040ac395cf05a242f80527ddab16b

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-141927

Details

Source: Mitre, NVD

Published: 2026-12-02

Updated: 2026-12-03

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

EPSS

EPSS: 0.00644