Vulnerability · Published Aug 13, 2025 · Assigned by GitHub_M
CVE-2025-55160ImageMagick Undefined Behavior (function-type-mismatch) in CloneSplayTree
Medium 6.1
In plain English
A medium-severity security flaw in ImageMagick from ImageMagick. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-27 and 7.1.2-1, there is undefined behavior (function-type-mismatch) in splay tree cloning callback. This results in a deterministic abort under UBSan (DoS in sanitizer builds), with no crash in a non-sanitized build. This issue has been patched in versions 6.9.13-27 and 7.1.2-1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | imagemagick | no fix listed | DEBIAN-CVE-2025-55160 |
| Debian:13 | imagemagick | no fix listed | DEBIAN-CVE-2025-55160 |
| Debian:14 | imagemagick | 8:7.1.2.1+dfsg1-1 | DEBIAN-CVE-2025-55160 |
| NuGet | magick.net-q16-anycpu | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-arm64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-hdri-anycpu | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-hdri-arm64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-hdri-openmp-arm64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-hdri-openmp-x64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-hdri-x64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-hdri-x86 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-openmp-arm64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-openmp-x64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-x64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q16-x86 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q8-anycpu | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q8-arm64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q8-openmp-arm64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q8-openmp-x64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q8-x64 | 14.8.0 | GHSA-6hgw-6x87-578x |
| NuGet | magick.net-q8-x86 | 14.8.0 | GHSA-6hgw-6x87-578x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | < 6.9.13-27< 7.1.2-1 |
Weakness: CWE-758 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L