Skip to main content
Public proof of conceptFix available

CVE-2019-13574

A public proof of concept exists; no exploitation attested.

  • Published2019-07-12
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2019-07-1203:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2019-13574?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2019-13574?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published
Minimagick project minimagick
BranchAffectedFixed in
4.9< 4.9.44.9.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ruby-mini-magickUbuntu:18.04:LTSall versions · no fixed version listed
  • ruby-mini-magickUbuntu:16.04:LTSall versions · no fixed version listed
  • ruby-mini-magickDebian:14all versions · fixed in 4.9.2-1.1
  • ruby-mini-magickDebian:13all versions · fixed in 4.9.2-1.1
  • ruby-mini-magickDebian:12all versions · fixed in 4.9.2-1.1
  • ruby-mini-magickDebian:10all versions · fixed in 4.9.2-1+deb10u1
  • ruby-mini-magickDebian:9all versions · fixed in 4.5.1-1+deb9u1
  • ruby-mini-magickDebian:8all versions · fixed in 3.8.1-1+deb8u1

1 more package range on OSV.dev

Vendor advisories

  • CVE-2019-13574 Red Hat Product Security

    rubygem-mini_magick: fetching remote image filename leds to remote command execution

Full record on NVD

Fix

Advisories and patches

Detection

read 2026-11-02 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
1 repository, unverifiedmasahiro331/CVE-2019-13574
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

  • EUVD-2019-0603same flawENISA EUVD · LicenseRef-ENISA-legal-notice
  • GHSA-r7j3-vvh2-xrpjsame flawGitHub Advisory Database · CC-BY-4.0
  • DLA-1948-1advisory covering several CVEsDebian · LicenseRef-unstated
  • DSA-4481-1advisory covering several CVEsDebian · LicenseRef-unstated
  • OESA-2021-1150advisory covering several CVEsopenEuler · LicenseRef-unstated

Technical details

CVSS v3 Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2019-07-12
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-r7j3-vvh2-xrpj

Frequently asked questions

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.

Is CVE-2019-13574 actively exploited?

Active exploitation of CVE-2019-13574 has not been confirmed. Its EPSS score was 7.6% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-13574?

CVE-2019-13574 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running mini_magick? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record