CVE-2025-49007
ReDoS Vulnerability in Rack::Multipart handle_mime_head
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.584% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.6 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
Assessment source · checked 2026-11-19T12:57:36.861Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:36.861Z | CVE Program |
| epss | verified | 2026-11-19T16:04:41.400Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.599Z | OSV |
| affected | verified | 2026-11-19T12:57:36.861Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:36.861Z | CVE Program |
Affected versions and configuration
rack rack; default status: unknown: >= 3.1.0, < 3.1.16 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "rack",
"product": "rack",
"versions": [
{
"status": "affected",
"version": ">= 3.1.0, < 3.1.16"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-49007",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-06-05T13:20:37.941173Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-06-05T14:11:25.234Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-47m2-26rw-j2jw",
"aliases": [
"CVE-2025-49007"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.1.0"
},
{
"fixed": "3.1.16"
}
]
}
],
"package": {
"name": "rack",
"purl": "pkg:gem/rack",
"ecosystem": "RubyGems"
},
"versions": [
"3.1.0",
"3.1.1",
"3.1.10",
"3.1.11",
"3.1.12",
"3.1.13",
"3.1.14",
"3.1.15",
"3.1.2",
"3.1.3",
"3.1.4",
"3.1.5",
"3.1.6",
"3.1.7",
"3.1.8",
"3.1.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-47m2-26rw-j2jw/GHSA-47m2-26rw-j2jw.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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/E:U"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-49007",
"type": "ADVISORY"
},
{
"url": "https://github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f",
"type": "WEB"
},
{
"url": "https://github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901",
"type": "WEB"
},
{
"url": "https://github.com/rack/rack",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-49007.yml",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-770"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-06-04T23:15:21Z",
"github_reviewed_at": "2025-06-05T05:21:34Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | rack | Not a distribution channel | 3.1.16 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:43.599ZArchived source JSON
Source publication: 2025-06-05T05:21:34.000Z
Source modification: 2026-09-10T03:50:24.787ZDocument fingerprint
65ea4b0a73ce0ee46c9bed7dea7db065395c496a8fe9af6fec0a4affa0e9df8b - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:36.861ZArchived source JSON
Source publication: 2025-06-04T22:42:52.515Z
Source modification: 2025-06-05T14:11:25.234ZDocument fingerprint
3ce1b39c71a2ec7282250bcd423b9fdb966a4f750120ba4fdf8c636afbb60391 - FIRST EPSSConsulted: 2026-11-19T16:04:41.400ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f09be0d3d341523449dfe0173665abd1b9add96747dee46d79511157a4bcd3c7
Official status history
- UNKNOWN → PUBLISHED · · evidence