{"id":"CVE-2025-53014","published":"2025-07-14T17:59:25Z","modified":"2025-11-03T18:13:09Z","title":"ImageMagick has Heap Buffer Overflow in InterpretImageFilename","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-0 and 6.9.13-26 have a heap buffer overflow in the `InterpretImageFilename` function. The issue stems from an off-by-one error that causes out-of-bounds memory access when processing format strings containing consecutive percent signs (`%%`). Versions 7.1.2-0 and 6.9.13-26 fix the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00735,"percentile":0.55361,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-193","name":"Off-by-one Error"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-hm4x-r5hc-794f","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/09/msg00012.html","tags":[]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":11.07},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 7.1.2-0","< 6.9.13-26"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-14T18:26:03.238643Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-x64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-hm4x-r5hc-794f"],"provenance":"source"}],"summary":{"text":"A heap buffer overflow in the InterpretImageFilename function of ImageMagick, affecting versions prior to 7.1.2-0 and 6.9.13-26, stems from an off-by-one error when format strings contain consecutive percent signs. An attacker with network access and no authentication or user interaction could trigger out-of-bounds memory reads by supplying a crafted format string, though exploitation is considered high complexity and results in limited confidentiality impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:40Z"},"euvd":{"id":"EUVD-2025-21380","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-imagemagick-cve-2025-53014","children":[{"from":"CVE-2025-53014","to":"CVE-2025-53101","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["magick/image.c"],"commits":["https://github.com/ImageMagick/ImageMagick6/commit/79b6ed03770781d996d1710b89fbb887e5ea758a","https://github.com/ImageMagick/ImageMagick6/commit/643deeb60803488373cd4799b24d5786af90972e"],"basis":"shared function","functions":["InterpretImageFilename"]}]},{"from":"CVE-2025-53014","to":"CVE-2025-55298","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/image.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/29d82726c7ec20c07c49ba263bdcea16c2618e03","https://github.com/ImageMagick/ImageMagick/commit/439b362b93c074eea6c3f834d84982b43ef057d5"],"basis":"shared function","functions":["InterpretImageFilename"]}]}],"packageHistory":[{"cve":"CVE-2023-1289","published":"2023-03-23","fixed":"13.0.0","kev":false},{"cve":"CVE-2025-68469","published":"2025-12-18","fixed":"13.2.0","kev":false},{"cve":"CVE-2025-53014","published":"2025-07-14","fixed":"14.7.0","kev":false},{"cve":"CVE-2025-53019","published":"2025-07-14","fixed":"14.7.0","kev":false},{"cve":"CVE-2025-53101","published":"2025-07-14","fixed":"14.7.0","kev":false},{"cve":"CVE-2025-55004","published":"2025-08-13","fixed":"14.8.0","kev":false,"link":{"from":"CVE-2025-53014","to":"CVE-2025-55004","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-HDRI-OpenMP-arm64","fromFixed":"14.7.0","toFixed":"14.8.0","daysApart":30},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-HDRI-OpenMP-x64","fromFixed":"14.7.0","toFixed":"14.8.0","daysApart":30}]}},{"cve":"CVE-2025-55160","published":"2025-08-13","fixed":"14.8.0","kev":false,"link":{"from":"CVE-2025-53014","to":"CVE-2025-55160","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-HDRI-OpenMP-arm64","fromFixed":"14.7.0","toFixed":"14.8.0","daysApart":30},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-HDRI-OpenMP-x64","fromFixed":"14.7.0","toFixed":"14.8.0","daysApart":30}]}}],"package":"NuGet:Magick.NET-Q16-HDRI-OpenMP-arm64"}}