Home / Minimagick Project / Minimagick / CVE-2019-13574
CVE-2019-13574: is it exploited, and which versions of Minimagick Project Minimagick are affected and fixed?
CVE-2019-13574 is an OS command injection vulnerability in Minimagick Project Minimagick. 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, 10:38 UTC). Affected: mini_magick before 4.9.4 (GitHub advisory GHSA-r7j3-vvh2-xrpj). Fixed in 4.9.4 (GitHub advisory GHSA-r7j3-vvh2-xrpj). Severity: High (7.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:21 UTC.
What is CVE-2019-13574?
In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution because Image.open input is directly passed to Kernel#open, which accepts a '|' character followed by a command.
From the CVE record by mitre, last updated August 4, 2024, 23:57 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | mini_magick | < 4.9.4 | 4.9.4 | GHSA-r7j3-vvh2-xrpj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 25, 2023. Summary: OS Command Injection in MiniMagick.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| minimagick project | minimagick | before 4.9.4 | application |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 02:17 UTC.
How severe is CVE-2019-13574?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/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-2019-13574 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 7.64% probability of exploitation activity in the next 30 days, percentile 94.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/minimagick/minimagick/releases/tag/v4.9.4 x_refsource_MISC
- https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851 x_refsource_MISC
- https://github.com/minimagick/minimagick/compare/d484786...293f9bb x_refsource_MISC
- https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4/ x_refsource_MISC
- DSA-4481 vendor-advisory, x_refsource_DEBIAN
- 20190715 [SECURITY] [DSA 4481-1] ruby-mini-magick security update mailing-list, x_refsource_BUGTRAQ
- [debian-lts-announce] 20191007 [SECURITY] [DLA 1948-1] ruby-mini-magick security update mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- July 11, 2019
- Published
- July 12, 2019, 02:31 UTC
- CVE record updated
- August 4, 2024, 23:57 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:17 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:21 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2019-13574
Is CVE-2019-13574 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 7.64% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Minimagick Project Minimagick are affected by CVE-2019-13574?
mini_magick before 4.9.4, per the GitHub advisory GHSA-r7j3-vvh2-xrpj. The tables above give every range the sources list.
Which version fixes CVE-2019-13574?
4.9.4, per the GitHub advisory GHSA-r7j3-vvh2-xrpj. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-13574?
High (7.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2019-13574?
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.