# CVE-2025-55160: ImageMagick Undefined Behavior (function-type-mismatch) in CloneSplayTree

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-13T14:00:53.826Z
- Modified: 2026-06-17T09:41:22.687Z
- Also known as: GHSA-6hgw-6x87-578x
- Weaknesses: CWE-758
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ImageMagick ImageMagick: < 6.9.13-27; < 7.1.2-1; before 6.9.13-27; from 7.0.0-0 before 7.1.2-1
- Magick.NET-Q16-AnyCPU (NuGet): before 14.8.0
- Magick.NET-Q16-HDRI-AnyCPU (NuGet): before 14.8.0
- Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): before 14.8.0
- Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet): before 14.8.0
- Magick.NET-Q16-HDRI-arm64 (NuGet): before 14.8.0
- Magick.NET-Q16-HDRI-x64 (NuGet): before 14.8.0
- Magick.NET-Q16-HDRI-x86 (NuGet): before 14.8.0
- Magick.NET-Q16-OpenMP-arm64 (NuGet): before 14.8.0
- Magick.NET-Q16-OpenMP-x64 (NuGet): before 14.8.0
- Magick.NET-Q16-arm64 (NuGet): before 14.8.0
- Magick.NET-Q16-x64 (NuGet): before 14.8.0
- Magick.NET-Q16-x86 (NuGet): before 14.8.0
- Magick.NET-Q8-AnyCPU (NuGet): before 14.8.0
- Magick.NET-Q8-OpenMP-arm64 (NuGet): before 14.8.0
- Magick.NET-Q8-OpenMP-x64 (NuGet): before 14.8.0
- Magick.NET-Q8-arm64 (NuGet): before 14.8.0
- Magick.NET-Q8-x64 (NuGet): before 14.8.0
- Magick.NET-Q8-x86 (NuGet): before 14.8.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-6hgw-6x87-578x> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55160> (advisory)
- <https://github.com/ImageMagick/ImageMagick> (package)
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.8.0> (web)

## Sources

- CVE List: [CVE-2025-55160](https://www.cve.org/CVERecord?id=CVE-2025-55160), CVE Terms of Use, modified 2025-08-13
- GitHub Advisory Database: [GHSA-6hgw-6x87-578x](https://github.com/advisories/GHSA-6hgw-6x87-578x), CC-BY-4.0, modified 2025-08-25
- NVD: [CVE-2025-55160](https://nvd.nist.gov/vuln/detail/CVE-2025-55160), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-55160 · Whole record: https://cve.day/CVE-2025-55160.json · Rebuilt by cve.day 2026-11-25T22:59:02.430Z
