Security mailing lists by PureSourceCode

CVE-2026-125111

HIGH 7.5CVSS 3.1

Rack: Multipart parsing allows DoS via unbounded scan buffer growth

Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser can retain parsed data in its internal StringScanner buffer when reads end inside or immediately after multipart headers. An unauthenticated attacker can align many small parts with rack.multipart.buffer_size boundaries so the buffer grows with the request despite per-field, header, and preamble limits, causing a worker to exhaust memory. The attack requires only a well-formed multipart body and affects applications that parse multipart requests. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.

Published
9 Nov 2026
Last modified
12 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-400
Also known as
GHSA-5v64-555j-wjxm
Sources
NVDJSONOSV GHSA-5v64-555j-wjxmJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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
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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV RubyGems rack < 2.2.25 2.2.25
OSV RubyGems rack >= 3.0.0, < 3.1.23 3.1.23
OSV RubyGems rack >= 3.2.0, < 3.2.8 3.2.8

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 9 Nov 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 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.