{"id":"JLSEC-2026-947","summary":"ImageMagick: Code Injection via PostScript header in ps coders","details":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, the ps coders, responsible for writing PostScript files, fails to sanitize the input before writing it into the PostScript header.  An attacker can provide a malicous file and inject arbitrary PostScript code. When the resulting file is processed by a printer or a viewer (like Ghostscript), the injected code is interpreted and executed. The html encoder does not properly escape strings that are written to in the html document. An attacker can provide a malicious file and injection arbitrary html code. Versions 7.1.2-15 and 6.9.13-40 contain a patch.","modified":"2026-07-30T18:35:32.549259099Z","published":"2026-07-30T16:02:27.435Z","upstream":["CVE-2026-25797","EUVD-2026-7445","GHSA-rw6c-xp26-225v"],"database_specific":{"license":"CC-BY-4.0","sources":[{"database_specific":{"status":"Analyzed"},"id":"CVE-2026-25797","imported":"2026-07-30T14:08:44.992Z","modified":"2026-06-17T10:25:15.707Z","published":"2026-02-24T01:16:14.450Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-25797","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25797"},{"imported":"2026-07-30T14:09:20.350Z","modified":"2026-02-24T15:34:27Z","published":"2026-02-24T15:34:26Z","url":"https://api.github.com/advisories/GHSA-rw6c-xp26-225v","html_url":"https://github.com/advisories/GHSA-rw6c-xp26-225v","id":"GHSA-rw6c-xp26-225v"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-7445","id":"EUVD-2026-7445","imported":"2026-07-30T14:08:55.259Z","modified":"2026-02-26T15:13:42Z","published":"2026-02-24T01:01:22Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-7445"}]},"references":[{"type":"WEB","url":"https://github.com/ImageMagick/ImageMagick/commit/26088a83d71e9daa203d54a56fe3c31f3f85463d"},{"type":"WEB","url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-rw6c-xp26-225v"},{"type":"WEB","url":"https://github.com/advisories/GHSA-rw6c-xp26-225v"},{"type":"WEB","url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25797"}],"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":"7.1.2023+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-947.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"}]}