Security mailing lists by PureSourceCode

CVE-2026-142592

HIGH 7.5CVSS 3.1

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

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.

Published
2 Dec 2026
Last modified
4 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-400
Also known as
GHSA-58mf-c3jj-277p
Sources
NVDJSONCVE ListJSONOSV GHSA-58mf-c3jj-277pJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List GitHub_M CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List rack rack = >= 3.0.0, < 3.1.24; = >= 3.2.0, < 3.2.9
OSV RubyGems rack >= 3.0.0, < 3.1.24 3.1.24
OSV RubyGems rack >= 3.2.0, < 3.2.9 3.2.9

References

History

  • 4 Dec 2026 01:56 UTC · OSV: first stored (published 3 Dec 2026)
  • 3 Dec 2026 15:56 UTC · CVE List: updated (other details)
  • 3 Dec 2026 15:56 UTC · NVD: updated (other details)
  • 2 Dec 2026 22:21 UTC · NVD: first stored (published 2 Dec 2026)
  • 2 Dec 2026 21:47 UTC · CVE List: first stored (published 2 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.