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.
{
"license": "CC-BY-4.0",
"sources": [
{
"id": "CVE-2020-29599",
"imported": "2026-07-30T14:08:42.109Z",
"modified": "2026-06-17T03:11:30.193Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-29599",
"database_specific": {
"status": "Modified"
},
"published": "2020-12-07T20:15:12.773Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-29599"
}
]
}