CVE-2025-68950
MEDIUM4.0EPSS 0.01%ImageMagick's failure to limit MVG mutual causes Stack Overflow
Published: 12/30/2025Modified: 4/28/2026
Description
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.
Affected packages (18)
- Debian/imagemagickfrom 0, < 8:6.9.11.60+dfsg-1.3+deb11u8
- NuGet/Magick.NET-Q16-AnyCPUfrom 0, < 14.10.1
- NuGet/Magick.NET-Q16-arm64from 0, < 14.10.1
- NuGet/Magick.NET-Q16-HDRI-AnyCPUfrom 0, < 14.10.1
- NuGet/Magick.NET-Q16-HDRI-arm64from 0, < 14.10.1
- NuGet/Magick.NET-Q16-HDRI-OpenMP-arm64from 0, < 14.10.1
- NuGet/Magick.NET-Q16-HDRI-OpenMP-x64from 0, < 14.10.1
- NuGet/Magick.NET-Q16-HDRI-x64from 0, < 14.10.1
- NuGet/Magick.NET-Q16-HDRI-x86from 0, < 14.10.1
- NuGet/Magick.NET-Q16-OpenMP-arm64from 0, < 14.10.1
- NuGet/Magick.NET-Q16-OpenMP-x64from 0, < 14.10.1
- NuGet/Magick.NET-Q16-x86from 0, < 14.10.1
- NuGet/Magick.NET-Q8-AnyCPUfrom 0, < 14.10.1
- NuGet/Magick.NET-Q8-arm64from 0, < 14.10.1
- NuGet/Magick.NET-Q8-OpenMP-arm64from 0, < 14.10.1
- NuGet/Magick.NET-Q8-OpenMP-x64from 0, < 14.10.1
- NuGet/Magick.NET-Q8-x64from 0, < 14.10.1
- NuGet/Magick.NET-Q8-x86from 0, < 14.10.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-68950
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-68950
- PATCHhttps://github.com/ImageMagick/ImageMagick
- WEBhttps://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec
- WEBhttps://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7rvh-xqp3-pr8j