# CVE-2024-26142: Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 7.1.3.1 (CNA); fix release not confirmed
- Status: published
- Published: 2024-02-27 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2024-26142, GHSA-jjhx-jhvp-74wq, BIT-rails-2024-26142
- Record: https://cvemate.com/vulnerability/CVE-2024-26142 · JSON: https://cvemate.com/vulnerability/CVE-2024-26142/json

## Description

```text
Rails is a web-application framework. Starting in version 7.1.0, there is a possible ReDoS vulnerability in the Accept header parsing routines of Action Dispatch. This vulnerability is patched in 7.1.3.1. Ruby 3.2 has mitigations for this problem, so Rails applications using Ruby 3.2 or newer are unaffected.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.498%, percentile 75.119%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu rails (Ubuntu): All versions (No fix recorded)
- RubyGems actionpack (RubyGems): ≥ 7.1.0, \< 7.1.3.1
- rails rails: ≥ 7.1.0, \< 7.1.3.1
- rubyonrails rails: ≥ 7.1.0, \< 7.1.3.1

## References

- <https://github.com/rails/rails/security/advisories/GHSA-jjhx-jhvp-74wq>
- <https://github.com/rails/rails/commit/b4d3bfb5ed8a5b5a90aad3a3b28860c7a931e272>
- <https://discuss.rubyonrails.org/t/possible-redos-vulnerability-in-accept-header-parsing-in-action-dispatch/84946>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2024-26142.yml>
- <https://security.netapp.com/advisory/ntap-20240503-0003/>
- <https://ubuntu.com/security/CVE-2024-26142>
- <https://www.cve.org/CVERecord?id=CVE-2024-26142>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-26142>
- <https://github.com/rails/rails>

---

Data as of 2026-12-05T04:02:50.575Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
