Home / Rubygems / Mini Magick / CVE-2013-2616
CVE-2013-2616: is it exploited, and which versions of Rubygems Mini Magick are affected and fixed?
CVE-2013-2616 is a code injection (remote code execution) vulnerability in Rubygems Mini Magick. 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, 09:38 UTC). Affected: mini_magick before 3.6.0 (GitHub advisory GHSA-w754-gq8r-pf5f). Fixed in 3.6.0 (GitHub advisory GHSA-w754-gq8r-pf5f). Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2013-2616?
lib/mini_magick.rb in the MiniMagick Gem 1.3.1 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a URL.
From the CVE record by mitre, last updated August 6, 2024, 15:44 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | mini_magick | < 3.6.0 | 3.6.0 | GHSA-w754-gq8r-pf5f |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 29, 2023. Summary: MiniMagick Gem for Ruby URI Handling Arbitrary Command Injection.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubygems | mini magick | 1.3.1 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:53 UTC.
How severe is CVE-2013-2616?
| Score | Version | Vector | Source |
|---|---|---|---|
| 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-2013-2616 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.63% probability of exploitation activity in the next 30 days, percentile 89.8 (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?
- 20130312 MiniMagic ruby gem remote code execution mailing-list, x_refsource_FULLDISC
- http://packetstormsecurity.com/files/120777/Ruby-Gem-Minimagic-Command-Execution.html x_refsource_MISC
- 91231 vdb-entry, x_refsource_OSVDB
- 58448 vdb-entry, x_refsource_BID
- [oss-security] 20130319 Fwd: CVE requests mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- March 18, 2013
- Published
- March 20, 2013, 22:00 UTC
- CVE record updated
- August 6, 2024, 15:44 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:53 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2013-2616
Is CVE-2013-2616 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 3.63% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubygems Mini Magick are affected by CVE-2013-2616?
mini_magick before 3.6.0, per the GitHub advisory GHSA-w754-gq8r-pf5f. The tables above give every range the sources list.
Which version fixes CVE-2013-2616?
3.6.0, per the GitHub advisory GHSA-w754-gq8r-pf5f. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-2616?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-2616?
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.