Magick's failure to limit MVG mutual references forming a loop
Published Dec 30, 2025
6.2
MEDIUMCVSS 3.1
EPSS 0.19%
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 products
-
- Version < 7.1.2-12StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ImageMagick | ImageMagick | n/a |
|
- < 7.1.2-12
No data.
Red Hat Enterprise Linux 6
ImageMagick
Out of support scope
Red Hat Enterprise Linux 7
ImageMagick
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | ImageMagick | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | ImageMagick | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability is rated Moderate for Red Hat products. The flaw in ImageMagick allows a denial of service via a stack overflow when processing specially crafted Magick Vector Graphics (MVG) files with circular references. Exploitation requires an attacker to provide a malicious MVG file to a system using ImageMagick.
Red Hat mitigation
To reduce the risk of exploitation, avoid processing untrusted Magick Vector Graphics (MVG) files with ImageMagick. For deployments where ImageMagick processes external or untrusted content, consider implementing sandboxing or resource limiting mechanisms to contain potential Denial of Service impacts.
References (8)
- https://access.redhat.com/security/cve/CVE-2025-68950 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2426284 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-205804 Advisory
- https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec x_refsource_MISCPatch
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7rvh-xqp3-pr8j x_refsource_CONFIRMVendor Advisory
- https://github.com/advisories/GHSA-7rvh-xqp3-pr8j Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-68950
- https://www.cve.org/CVERecord?id=CVE-2025-68950
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2025-68950 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2426284 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-205804 | Advisory | |
| https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec | x_refsource_MISCPatch | |
| https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-7rvh-xqp3-pr8j | x_refsource_CONFIRMVendor Advisory | |
| https://github.com/advisories/GHSA-7rvh-xqp3-pr8j | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-68950 | ||
| https://www.cve.org/CVERecord?id=CVE-2025-68950 |
Change history (0)
No recorded changes yet.