Ubuntu CVE Tracker
UBUNTU-CVE-2025-68950
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | imagemagick | All versions before 8:6.7.7.10-6ubuntu3.13+esm23 (fixed in 8:6.7.7.10-6ubuntu3.13+esm23) |
| Ubuntu:Pro:16.04:LTS | imagemagick | All versions before 8:6.8.9.9-7ubuntu5.16+esm22 (fixed in 8:6.8.9.9-7ubuntu5.16+esm22) |
| Ubuntu:Pro:18.04:LTS | imagemagick | All versions before 8:6.9.7.4+dfsg-16ubuntu6.15+esm14 (fixed in 8:6.9.7.4+dfsg-16ubuntu6.15+esm14) |
| Ubuntu:Pro:20.04:LTS | imagemagick | All versions before 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12 (fixed in 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm12) |
| Ubuntu:Pro:22.04:LTS | imagemagick | All versions before 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12 (fixed in 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm12) |
| Ubuntu:Pro:24.04:LTS | imagemagick | All versions before 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11 (fixed in 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm11) |
| Ubuntu:25.10 | imagemagick | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2025-68950
- https://www.cve.org/CVERecord?id=CVE-2025-68950
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7rvh-xqp3-pr8j
- https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec
- https://ubuntu.com/security/notices/USN-8558-1