CVE-2020-29599 json
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-pro…
published 2020-12-07 5 y ago modified 2026-07-30 3 mo ago also EUVD-2020-21960 , JLSEC-2026-876
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.5%
- EPSS 7.5% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia ImageMagick_jll 6.9.12+0
- imagemagick imagemagick 6.9.11-40, 7.0.10-40
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.11.57+dfsg-1
debian advisories DEBIAN-CVE-2020-29599
- imagemagick Ubuntu 20.04 LTS 8:6.9.10.23+dfsg-2.1ubuntu11.9
ubuntu advisories UBUNTU-CVE-2020-29599
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick RHEL 7 6.9.10.68-5.el7_9
- ImageMagick-c++ RHEL 7 6.9.10.68-5.el7_9
- ImageMagick-perl RHEL 7 6.9.10.68-5.el7_9
red hat advisories RHSA-2021:0024
- ImageMagick SLES for SAP 15 SP1, SLES for SAP 15, SLES 15-LTSS +12 more 7.0.7.34-3.90.1
- ImageMagick SLE Module for Development Tools 15 SP2, SLE Module for Desktop Applications 15 SP2 7.0.7.34-10.9.1
suse advisories SUSE-SU-2021:0156-1SUSE-SU-2021:0153-1
- ImageMagick openSUSE Leap 15.1 7.0.7.34-lp151.7.26.1
- ImageMagick openSUSE Leap 15.2 7.0.7.34-lp152.12.9.1
opensuse advisories openSUSE-SU-2021:0148-1openSUSE-SU-2021:0136-1
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 7.0.10.42-r0
- imagemagick6 Alpine 3.16, Alpine 3.15, Alpine 3.14 +2 more 6.9.11.42-r0
alpine advisories ALPINE-CVE-2020-29599
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-29599 updated cvss 7.3
ImageMagick: Shell injection via PDF password could result in arbitrary code execution
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux Client (v. 7) ImageMagick 6.9.10.68-5.el7_9, ImageMagick-c++ 6.9.10.68-5.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) ImageMagick-perl 6.9.10.68-5.el7_9 Red Hat Enterprise Linux ComputeNode Optional (v. 7) ImageMagick 6.9.10.68-5.el7_9, ImageMagick-c++ 6.9.10.68-5.el7_9, ImageMagick-perl 6.9.10.68-5.el7_9 Red Hat Enterprise Linux Server (v. 7) ImageMagick 6.9.10.68-5.el7_9, ImageMagick-c++ 6.9.10.68-5.el7_9, ImageMagick-perl 6.9.10.68-5.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) ImageMagick-c++ 6.9.10.68-5.el7_9 Red Hat Enterprise Linux Workstation (v. 7) ImageMagick 6.9.10.68-5.el7_9, ImageMagick-c++ 6.9.10.68-5.el7_9, ImageMagick-perl 6.9.10.68-5.el7_9fixed: vendor fix RHSA-2021:0024
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) ImageMagick-doc 6.9.10.68-5.el7_9, ImageMagick-devel 6.9.10.68-5.el7_9, ImageMagick-c++-devel 6.9.10.68-5.el7_9, ImageMagick-debuginfo 6.9.10.68-5.el7_9 -
Red Hat Enterprise Linux 8 inkscape, inkscape-view Red Hat Enterprise Linux 9 ImageMagicknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
7.51% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/ImageMagick/ImageMagick/discussions/2851 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | ImageMagick_jll | <6.9.12+0 |
6.9.12+0 |
Classification
- Weakness
-
- CWE-91 XML Injection
References
-
github.com
/ImageMagick/ImageMagick/discussions/2851
exploit, third-party-advisory, web
-
security.gentoo.org
/glsa/202101-36
vendor-advisory, third-party-advisory, web
-
insert-script.blogspot.com
/2020/11/imagemagick-shell-injection-via-pdf.html
third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2021/01/msg00010.html
mailing-list, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2023/03/msg00008.html
mailing-list, web
Sources
- CVE List CVE-2020-29599
- NVD CVE-2020-29599
- OSV JLSEC-2026-876
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.