Vulnerabilities · 2019 · Imagemagick
CVE-2019-13305
Imagemagick vulnerability
ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced strncpy and an off-by-one error.
Affected products
Imagemagick, Debian Linux, Ubuntu Linux, Leap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ImageMagick/ImageMagick/commit/29efd648f38b73a64d73f14cd2019d869a585888 · Patch
- github.com/ImageMagick/ImageMagick/issues/1613 · Exploit
- github.com/ImageMagick/ImageMagick6/commit/5c7fbf9a14fb83c9685ad69d48899f490a37609d · Patch
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00069.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/08/msg00021.html · Third Party Advisory
- usn.ubuntu.com/4192-1/ · Third Party Advisory
- www.debian.org/security/2020/dsa-4712 · Third Party Advisory
- www.debian.org/security/2020/dsa-4715 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-13305
- cve.org/CVERecord?id=CVE-2019-13305
More vulnerabilities in Imagemagick products
CVE-2026-23876CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.