ReDoS Vulnerability in Rack::Multipart handle_mime_head
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
Summary
Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.16, there is a denial of service vulnerability in the Content-Disposition parsing component of Rack. This is very similar to the previous security issue CVE-2022-44571. Carefully crafted input can cause Content-Disposition header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is used typically used in multipart parsing. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted. Version 3.1.16 contains a patch for the vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rack | rack | 3.1.0 to before 3.1.16 | 3.1.16 | Patch available | CNA |
| — | rack (RubyGems) | 3.1.0 to before 3.1.16 | 3.1.16 | Patch available | GHSA-47m2-26rw-j2jw |
- rack Vendorrack Affected 3.1.0 to before 3.1.16 Fixed in 3.1.16 Patch available CNA
- rack (RubyGems) Vendor— Affected 3.1.0 to before 3.1.16 Fixed in 3.1.16 Patch available GHSA-47m2-26rw-j2jw
Remediation
- Fix · CNA rack (rack) Fixed in 3.1.16
- Fix · GHSA-47m2-26rw-j2jw rack (RubyGems) Fixed in 3.1.16 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
Not affected: 5 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 9
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2025-49007
- 2026-10-03 Alias added: GHSA-47m2-26rw-j2jw
References
Patch 2
Advisory 2
More Rack vulnerabilities
- TI-2024-16580 Rack ReDos in content type parsing (2nd degree polynomial) CVSS 3.1HIGH 7.5
- TI-2024-17236 Possible Denial of Service Vulnerability in Rack Header Parsing CVSS 3.1HIGH 7.5
- TI-2024-17231 Possible DoS Vulnerability with Range Header in Rack CVSS 3.1HIGH 7.5
- TI-2023-12254 Uncontrolled resource consumption in https://github.com/rack/rack CVSS 3.1HIGH 7.5
- TI-2025-38165 Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion) CVSS 3.1HIGH 7.5
- TI-2025-38163 Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion) CVSS 3.1HIGH 7.5
Sources
- CVE-2025-49007 · CVE Program
- CVE-2025-49007 · NVD
- FIRST EPSS
- GHSA-47m2-26rw-j2jw · GitHub Advisory Database · CC BY 4.0
- CVE-2025-49007 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences