Vulnerabilities · 2020 · Imagemagick
CVE-2020-29599
Imagemagick vulnerability
ImageMagick before 6.9.11-40 and 7.x before 7.0.10-40 mishandles the -authenticate option, which allows setting a password for password-protected PDF files. The user-controlled password was not properly escaped/sanitized and it was therefore possible to inject additional shell commands via coders/pdf.c.
Affected products
Imagemagick, Debian Linux. 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/discussions/2851 · Exploit
- insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/01/msg00010.html · Third Party Advisory
- security.gentoo.org/glsa/202101-36 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- nvd.nist.gov/vuln/detail/CVE-2020-29599
- cve.org/CVERecord?id=CVE-2020-29599
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.