{"id":"CVE-2025-68950","published":"2025-12-30T16:50:25Z","modified":"2025-12-30T18:11:38Z","title":"Magick's failure to limit MVG mutual references forming a loop","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, Magick fails to check for circular references between two MVGs, leading to a stack overflow. This is a DoS vulnerability, and any situation that allows reading the mvg file will be affected. Version 7.1.2-12 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00188,"percentile":0.08619,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7rvh-xqp3-pr8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec","tags":["x_refsource_MISC"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":1.72},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":["< 7.1.2-12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-30T18:09:01.682546Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-x64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.10.1"],"patched":["14.10.1"],"from":["GHSA-7rvh-xqp3-pr8j"],"provenance":"source"}],"summary":{"text":"ImageMagick's MVG (Magick Vector Graphics) handling fails to detect circular references between MVG files, so a loop of mutual references causes unbounded recursion and a stack overflow. An attacker able to get ImageMagick to read a crafted MVG file, which requires only local access and no privileges or user interaction, can crash the process and deny service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:39Z"},"euvd":{"id":"EUVD-2025-205804","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-imagemagick-cve-2016-4562","parents":[{"from":"CVE-2016-4562","to":"CVE-2025-68950","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950","https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec"],"basis":"shared function","functions":["DrawPrimitive"]}]},{"from":"CVE-2016-4563","to":"CVE-2025-68950","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950","https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec"],"basis":"shared function","functions":["DrawPrimitive"]}]},{"from":"CVE-2016-4564","to":"CVE-2025-68950","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950","https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec"],"basis":"shared function","functions":["DrawPrimitive"]}]},{"from":"CVE-2023-1289","to":"CVE-2025-68950","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4","https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec"],"basis":"shared function","functions":["DrawPrimitive"]}]}],"packageHistory":[{"cve":"CVE-2025-55160","published":"2025-08-13","fixed":"14.8.0","kev":false},{"cve":"CVE-2025-55212","published":"2025-08-26","fixed":"14.8.1","kev":false,"link":{"from":"CVE-2025-55212","to":"CVE-2025-68950","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-HDRI-OpenMP-arm64","fromFixed":"14.8.1","toFixed":"14.10.1","daysApart":126},{"kind":"version-step","provenance":"source","package":"NuGet:Magick.NET-Q16-HDRI-arm64","fromFixed":"14.8.1","toFixed":"14.10.1","daysApart":126}]}},{"cve":"CVE-2025-55298","published":"2025-08-26","fixed":"14.8.1","kev":false},{"cve":"CVE-2025-68950","published":"2025-12-30","fixed":"14.10.1","kev":false},{"cve":"CVE-2026-24481","published":"2026-02-24","fixed":"14.10.3","kev":false},{"cve":"CVE-2026-24484","published":"2026-02-24","fixed":"14.10.3","kev":false},{"cve":"CVE-2026-24485","published":"2026-02-24","fixed":"14.10.3","kev":false}],"package":"NuGet:Magick.NET-Q16-HDRI-OpenMP-arm64"}}