Skip to main content
No exploitation reportedFix available

CVE-2019-13304

No exploitation reported by the sources we read.

  • Published2019-07-05
  • WeaknessCWE-787

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

ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced assignment.

Timeline

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

Versions per branch

NVD
Imagemagick
BranchAffectedFixed in
7.0= 7.0.8-50no fix published
Canonical ubuntu linux
BranchAffectedFixed in
16.4= 16.04no fix published
18.4= 18.04no fix published
19.4= 19.04no fix published
19.10= 19.10no fix published
Debian debian linux
BranchAffectedFixed in
8.0= 8.0no fix published
9.0= 9.0no fix published
10.0= 10.0no fix published

1 more product in the sources.

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

  • autotraceRed Hat:enterprise_linux:7::workstationall versions · fixed in 0:0.31.1-38.el7and 2 other packages
  • autotraceRed Hat:enterprise_linux:7::serverall versions · fixed in 0:0.31.1-38.el7and 2 other packages
  • autotraceRed Hat:enterprise_linux:7::computenodeall versions · fixed in 0:0.31.1-38.el7and 2 other packages
  • autotraceRed Hat:enterprise_linux:7::clientall versions · fixed in 0:0.31.1-38.el7and 2 other packages
  • emacsRed Hat:enterprise_linux:7::workstationall versions · fixed in 1:24.3-23.el7and 6 other packages
  • emacsRed Hat:enterprise_linux:7::serverall versions · fixed in 1:24.3-23.el7and 6 other packages
  • emacsRed Hat:enterprise_linux:7::computenodeall versions · fixed in 1:24.3-23.el7and 6 other packages
  • emacsRed Hat:enterprise_linux:7::clientall versions · fixed in 1:24.3-23.el7and 6 other packages

49 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-13304 Red Hat Product Security218 products fixed · 8 known affected

    ImageMagick: stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced assignment

    ImageMagick.src as a component of Red Hat Enterprise Linux 5 · ImageMagick as a component of Red Hat Enterprise Linux 6 · ImageMagick-c++ as a component of Red Hat Enterprise Linux 6 · +5 more

  • RHSA-2020:1180 Red Hat Product Security218 products fixed

    Red Hat Security Advisory: ImageMagick security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2020:1180 · 218 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. No fix planned, says the vendor Red Hat Product Security CVE-2019-13304 · 8 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2019-07-05
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-9gjm-fmh9-hm6x

Frequently asked questions

What is CVE-2019-13304?

ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced assignment.

Is CVE-2019-13304 actively exploited?

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

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

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

Running ImageMagick? 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