{"id":"JLSEC-2026-876","details":"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`.","modified":"2026-07-30T18:24:11.118047612Z","published":"2026-07-30T16:02:27.435Z","upstream":["CVE-2020-29599"],"database_specific":{"license":"CC-BY-4.0","sources":[{"modified":"2026-06-17T03:11:30.193Z","published":"2020-12-07T20:15:12.773Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-29599","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2020-29599","database_specific":{"status":"Modified"},"id":"CVE-2020-29599","imported":"2026-07-30T14:08:42.109Z"}]},"references":[{"type":"WEB","url":"https://github.com/ImageMagick/ImageMagick/discussions/2851"},{"type":"WEB","url":"https://github.com/ImageMagick/ImageMagick/discussions/2851"},{"type":"WEB","url":"https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html"},{"type":"WEB","url":"https://insert-script.blogspot.com/2020/11/imagemagick-shell-injection-via-pdf.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00010.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202101-36"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202101-36"}],"affected":[{"package":{"name":"ImageMagick_jll","ecosystem":"Julia","purl":"pkg:julia/ImageMagick_jll?uuid=c73af94c-d91f-53ed-93a7-00f77d67a9d7"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.9.12+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-876.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V2","score":"AV:N/AC:M/Au:N/C:P/I:P/A:P"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}