CVE-2016-0751
actionpack is vulnerable to denial of service via a crafted HTTP Accept header
Also known as GHSA-ffpv-c4hm-3x6v
Mitigation
- Upgrade actionpack to one of 4.2.5.1, 3.2.22.1, 4.1.14.1 (or later in the same release line).
Who should check
- Projects that depend on RubyGems package actionpack (>= 4.2.0, < 4.2.5.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- actionpack >= 4.2.0, < 4.2.5.1
- Fixed in
- 4.2.5.1, 3.2.22.1, 4.1.14.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 9.73% chance of exploitation in 30 days (percentile 96, 2026-11-26)
- CWE
- CWE-399
- Modified
Description
actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 does not properly restrict use of the MIME type cache, which allows remote attackers to cause a denial of service (memory consumption) via a crafted HTTP Accept header.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RubyGems actionpack | >= 4.2.0, < 4.2.5.1 | 4.2.5.1, 3.2.22.1, 4.1.14.1 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2016-0751. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2016-0751.md Affected: actionpack >= 4.2.0, < 4.2.5.1 Fixed in: 4.2.5.1, 3.2.22.1, 4.1.14.1 Steps: 1. Search this machine and project for actionpack (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178043.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178067.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- http://www.debian.org/security/2016/dsa-3464
- http://rhn.redhat.com/errata/RHSA-2016-0296.html
- https://nvd.nist.gov/vuln/detail/CVE-2016-0751
Patches
Other
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/9oLY_FCzvoc/5CDXbvpYEgAJ
- http://www.securityfocus.com/bid/81800
- http://www.securitytracker.com/id/1034816
- http://www.openwall.com/lists/oss-security/2016/01/25/9
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0751.yml
- https://groups.google.com/forum/#!topic/rubyonrails-security/9oLY_FCzvoc
- https://web.archive.org/web/20160128201702/http://www.securitytracker.com/id/1034816
- https://web.archive.org/web/20200227181647/http://www.securityfocus.com/bid/81800
FAQ
Is CVE-2016-0751 being exploited?
There is no confirmed exploitation: CVE-2016-0751 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 9.73% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2016-0751?
High: CVSS 7.5 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2016-0751?
actionpack >= 4.2.0, < 4.2.5.1.
Is there a fix for CVE-2016-0751?
Yes. Fixed in 4.2.5.1, 3.2.22.1, 4.1.14.1. Upgrade actionpack to one of 4.2.5.1, 3.2.22.1, 4.1.14.1 (or later in the same release line).
How do I check if I'm affected by CVE-2016-0751?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.