Skip to main content
Public proof of conceptFix available

CVE-2020-29599

A public proof of concept exists; no exploitation attested.

  • Published2020-12-07
  • Fixed in7.0.10-40 · 6.9.11-40
  • WeaknessCWE-91

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 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.

Timeline

dates in UTC
  1. 2020-12-0720:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2020-29599?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2020-29599?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Imagemagick
BranchAffectedFixed in
7.0≥ 7.0.5-3, < 7.0.10-407.0.10-40
6.9≥ 6.9.8-1, < 6.9.11-406.9.11-40
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published

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

  • imagemagickUbuntu:Pro:22.04:LTSall versions · fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2
  • imagemagickUbuntu:Pro:18.04:LTSall versions · fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm1
  • imagemagickUbuntu:Pro:16.04:LTSall versions · fixed in 8:6.8.9.9-7ubuntu5.16+esm8
  • imagemagickUbuntu:20.04:LTSall versions · fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.9
  • imagemagickDebian:14all versions · fixed in 8:6.9.11.57+dfsg-1
  • imagemagickDebian:13all versions · fixed in 8:6.9.11.57+dfsg-1
  • imagemagickDebian:12all versions · fixed in 8:6.9.11.57+dfsg-1
  • imagemagickDebian:10all versions · fixed in 8:6.9.10.23+dfsg-2.1+deb10u2

46 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-29599 Red Hat Product Security308 products fixed · 8 known affected

    ImageMagick: Shell injection via PDF password could result in arbitrary code execution

    ImageMagick 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-2021:0024 Red Hat Product Security94 products fixed

    Red Hat Security Advisory: ImageMagick security update

Full record on NVD

Fix

  1. Update Imagemagick to 7.0.10-40 · 6.9.11-40
  2. Vendor fix Red Hat Product Security RHSA-2021:0024 · 94 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. No fix planned, says the vendor Red Hat Product Security CVE-2020-29599 · 8 productsOut of support scope

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
1 repository, unverifiedlnwza0x0a/CVE-2020-29599
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.17.8read 2026-10-23
  • NVDCVSS 2.06.8read 2026-10-23
  • NVDweakness (CWE)CWE-91read 2026-10-23
  • FIRST EPSSEPSS score7.5 %2026-11-03
  • PoC-in-GitHubproof of concept1read 2026-11-03
  • OSVaffected packages—

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
2020-12-07
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is 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. The user-controlled password was not properly escaped/sanitized and it was therefore possible to inject additional shell commands via coders/pdf.c.

Is CVE-2020-29599 actively exploited?

Active exploitation of CVE-2020-29599 has not been confirmed. Its EPSS score was 7.5% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-29599?

CVE-2020-29599 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