High severity · published Dec 7, 2020
CVE-2020-29599
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
7.8
CVSS
7.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)7.5% · higher than 94% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
9.0 · source: NVD
IM
Imagemagick · Imagemagick
6.9.8-1 before 6.9.11-40; 7.0.5-3 before 7.0.10-40 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-29599
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-29599
Exploit
https://github.com/ImageMagick/ImageMagick/discussions/2851
Third Party Advisory
https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html
Mailing List
https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html
lists.debian.org
https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
Third Party Advisory
https://security.gentoo.org/glsa/202101-36
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
