CVE-2020-29599 in Debian Linux and 1 more product
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.
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 9.0 |
| Imagemagick | Imagemagick | ≥ 6.9.8-1, < 6.9.11-40 ≥ 7.0.5-3, < 7.0.10-40 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-29599 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-184716-H |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-91: CWE-91
Related attack patterns (CAPEC)
CAPEC-83 XPath Injection via CWE-91
CAPEC-250 XML Injection via CWE-91
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
ImageMagick versions prior to 6.9.11-40 and 7.0.10-40 are vulnerable to command injection due to improper handling of the -authenticate option, allowing user-controlled passwords to inject shell commands.
An attacker can exploit this vulnerability by providing a specially crafted password to the -authenticate option when processing PDF files. The password is not properly sanitized, leading to the execution of arbitrary shell commands with the privileges of the ImageMagick process.
Questions
What is CVE-2020-29599?
ImageMagick versions prior to 6.9.11-40 and 7.0.10-40 are vulnerable to command injection due to improper handling of the -authenticate option, allowing user-controlled passwords to inject shell commands.
What is the CVSS score for CVE-2020-29599?
CVE-2020-29599 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 7.5%.
Is CVE-2020-29599 actively exploited?
No confirmed active exploitation of CVE-2020-29599 as of 2026-09-25.
How do I remediate CVE-2020-29599?
Priority: HIGH.
What systems are affected by CVE-2020-29599?
CVE-2020-29599 affects Debian Debian Linux; Imagemagick Imagemagick.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.