{"id":"CVE-2025-53015","published":"2025-07-14T19:31:27Z","modified":"2025-07-15T13:14:23Z","title":"ImageMagick has XMP profile write that triggers hang due to unbounded loop","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0, infinite lines occur when writing during a specific XMP file conversion command. Version 7.1.2-0 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00832,"percentile":0.58541,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-vmhh-8rxq-fp9g","tags":["x_refsource_CONFIRM"]},{"url":"https://drive.google.com/file/d/1iegkwlTjqnJTtM4XkiheYsjKsC6pxtId/view?usp=sharing","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":11.71},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 7.1.2-0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-07-15T13:14:20.411501Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q8-AnyCPU","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-x64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-arm64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-x86","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-OpenMP-x64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-OpenMP-arm64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-x64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.7.0"],"patched":["14.7.0"],"from":["GHSA-vmhh-8rxq-fp9g"],"provenance":"source"}],"summary":{"text":"The flaw is an unbounded loop in ImageMagick's XMP profile write handling, which causes an infinite loop when a specific XMP file conversion command is run in versions prior to 7.1.2-0. An attacker who can get the affected ImageMagick to process a crafted input over the network, without authentication or user interaction, can cause the process to hang and make the service unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:08Z"},"euvd":{"id":"EUVD-2025-21388","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-imagemagick-cve-2025-53015","children":[{"from":"CVE-2025-53015","to":"CVE-2025-62594","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/image-private.h"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/229fa96a988a21d78318bbca61245a6ed1ee33a0","https://github.com/ImageMagick/ImageMagick/commit/38631605e6ab744548a561797472cf8648bcfe26","https://github.com/ImageMagick/ImageMagick/commit/7b47fe369eda90483402fcd3d78fa4167d3bb129"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-53015","published":"2025-07-14","fixed":"14.7.0","kev":false},{"cve":"CVE-2025-55154","published":"2025-08-13","fixed":"14.8.0","kev":false,"link":{"from":"CVE-2025-53015","to":"CVE-2025-55154","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x64","fromFixed":"14.7.0","toFixed":"14.8.0","daysApart":30},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q8-x64","fromFixed":"14.7.0","toFixed":"14.8.0","daysApart":30}]}},{"cve":"CVE-2025-57807","published":"2025-09-05","fixed":"14.8.2","kev":false},{"cve":"CVE-2025-68618","published":"2025-12-30","fixed":"14.10.1","kev":false}],"package":"NuGet:Magick.NET-Q16-x64"}}