{"id":"CVE-2025-68618","published":"2025-12-30T16:14:24Z","modified":"2025-12-30T18:11:48Z","title":"Magick's failure to limit the depth of SVG file reads caused a DoS attack.","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-12, using Magick to read a malicious SVG file resulted in a DoS attack. Version 7.1.2-12 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00647,"percentile":0.51969,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-p27m-hp98-6637","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/6f431d445f3ddd609c004a1dde617b0a73e60beb","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":10.39},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 7.1.2-12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-30T18:09:57.470787Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-x86","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-AnyCPU","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-x86","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-arm64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-OpenMP-x64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q8-OpenMP-arm64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-x64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-p27m-hp98-6637"],"provenance":"source"}],"summary":{"text":"The flaw is in ImageMagick's handling of SVG files, where the software fails to limit the depth of reads, leading to uncontrolled recursion. An attacker who can supply a malicious SVG file for ImageMagick to read can cause a denial-of-service condition over the network, without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:38Z"},"euvd":{"id":"EUVD-2025-205813","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-imagemagick-cve-2016-10068","parents":[{"from":"CVE-2016-10068","to":"CVE-2025-68618","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/msl.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/56d6e20de489113617cbbddaf41e92600a34db22","https://github.com/ImageMagick/ImageMagick/commit/6f431d445f3ddd609c004a1dde617b0a73e60beb"],"basis":"shared function","functions":["MSLStartElement"]}]}],"children":[{"from":"CVE-2025-68618","to":"CVE-2025-69204","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["coders/svg.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/6f431d445f3ddd609c004a1dde617b0a73e60beb","https://github.com/ImageMagick/ImageMagick/commit/2c08c2311693759153c9aa99a6b2dcb5f985681e"],"basis":"shared function","functions":["SVGStartElement"]}]}],"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},{"cve":"CVE-2025-57807","published":"2025-09-05","fixed":"14.8.2","kev":false,"link":{"from":"CVE-2025-57807","to":"CVE-2025-68618","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x64","fromFixed":"14.8.2","toFixed":"14.10.1","daysApart":116},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q8-arm64","fromFixed":"14.8.2","toFixed":"14.10.1","daysApart":116}]}},{"cve":"CVE-2025-68618","published":"2025-12-30","fixed":"14.10.1","kev":false},{"cve":"CVE-2026-22770","published":"2026-01-20","fixed":"14.10.2","kev":false,"link":{"from":"CVE-2025-68618","to":"CVE-2026-22770","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x64","fromFixed":"14.10.1","toFixed":"14.10.2","daysApart":21},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x86","fromFixed":"14.10.1","toFixed":"14.10.2","daysApart":21}]}},{"cve":"CVE-2026-23874","published":"2026-01-20","fixed":"14.10.2","kev":false,"link":{"from":"CVE-2025-68618","to":"CVE-2026-23874","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x64","fromFixed":"14.10.1","toFixed":"14.10.2","daysApart":21},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x86","fromFixed":"14.10.1","toFixed":"14.10.2","daysApart":21},{"kind":"similar","provenance":"machine","score":0.22,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-23952","published":"2026-01-22","fixed":"14.10.2","kev":false,"link":{"from":"CVE-2025-68618","to":"CVE-2026-23952","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x64","fromFixed":"14.10.1","toFixed":"14.10.2","daysApart":23},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-x86","fromFixed":"14.10.1","toFixed":"14.10.2","daysApart":23},{"kind":"similar","provenance":"machine","score":0.25,"basis":"same product + description similarity"}]}}],"package":"NuGet:Magick.NET-Q16-x64"}}