Home / Bundler / Bundler / CVE-2016-7954
CVE-2016-7954: is it exploited, and which versions of Bundler are affected and fixed?
CVE-2016-7954 is a code injection (remote code execution) vulnerability in Bundler. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: bundler from 1.0.0 before 2.0.0 (GitHub advisory GHSA-jvgm-pfqv-887x). Fixed in 2.0.0 (GitHub advisory GHSA-jvgm-pfqv-887x). Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-7954?
Bundler 1.x might allow remote attackers to inject arbitrary Ruby code into an application by leveraging a gem name collision on a secondary source. NOTE: this might overlap CVE-2013-0334.
From the CVE record by mitre, last updated August 6, 2024, 02:13 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | bundler | >= 1.0.0, < 2.0.0 | 2.0.0 | GHSA-jvgm-pfqv-887x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 14, 2025. Summary: Bundler allows attacker to inject arbitrary code via secondary Gem source.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| bundler | bundler | 1.0.0 | application |
| bundler | bundler | 1.0.1 | application |
| bundler | bundler | 1.0.2 | application |
| bundler | bundler | 1.0.3 | application |
| bundler | bundler | 1.0.4 | application |
| bundler | bundler | 1.0.5 | application |
| bundler | bundler | 1.0.6 | application |
| bundler | bundler | 1.0.7 | application |
| bundler | bundler | 1.0.8 | application |
| bundler | bundler | 1.0.9 | application |
| bundler | bundler | 1.0.10 | application |
| bundler | bundler | 1.0.11 | application |
| bundler | bundler | 1.0.12 | application |
| bundler | bundler | 1.0.13 | application |
| bundler | bundler | 1.0.14 | application |
| bundler | bundler | 1.0.15 | application |
| bundler | bundler | 1.0.16 | application |
| bundler | bundler | 1.0.17 | application |
| bundler | bundler | 1.0.18 | application |
| bundler | bundler | 1.0.19 | application |
| bundler | bundler | 1.0.20 | application |
| bundler | bundler | 1.0.21 | application |
| bundler | bundler | 1.1 | application |
| bundler | bundler | 1.1.0 | application |
| bundler | bundler | 1.1.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:53 UTC.
How severe is CVE-2016-7954?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-7954 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.82% probability of exploitation activity in the next 30 days, percentile 95.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- 93423 vdb-entry, x_refsource_BID
- https://github.com/bundler/bundler/issues/5062 x_refsource_CONFIRM
- http://collectiveidea.com/blog/archives/2016/10/06/bundlers-multiple-source-security-vulnerability/ x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1381951 x_refsource_CONFIRM
- [oss-security] 20161004 Re: Re: CVE request for code execution via gem name collission in bundler (was Re: CVE Request) mailing-list, x_refsource_MLIST
- [oss-security] 20161004 Re: CVE request for code execution via gem name collission in bundler (was Re: CVE Request) mailing-list, x_refsource_MLIST
- [oss-security] 20161004 Re: Re: CVE request for code execution via gem name collission in bundler (was Re: CVE Request) mailing-list, x_refsource_MLIST
- https://github.com/bundler/bundler/issues/5051 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- September 9, 2016
- Published
- December 22, 2016, 22:00 UTC
- CVE record updated
- August 6, 2024, 02:13 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:53 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Bundler?
- Apr 29, 2021CVE-2020-36327 Bundler: n/a
- Oct 31, 2014CVE-2013-0334 Bundler: improper input validation
Questions about CVE-2016-7954
Is CVE-2016-7954 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 8.82% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Bundler are affected by CVE-2016-7954?
bundler from 1.0.0 before 2.0.0, per the GitHub advisory GHSA-jvgm-pfqv-887x. The tables above give every range the sources list.
Which version fixes CVE-2016-7954?
2.0.0, per the GitHub advisory GHSA-jvgm-pfqv-887x. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-7954?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-7954?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.