XPath Injection in Imagemagick

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.

EPSS: 0.075 (93.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-29599?
CVE-2020-29599 is a high-severity vulnerability in Imagemagick, classified under XML Injection (Blind XPath Injection). CVSS score: 7.8/10. Published 2020-12-07.
How severe is CVE-2020-29599?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2020-29599 known to be exploited?
11 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.