CVE-2025-55160
published 2025-08-13CVE-2025-55160: 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…
PriorityP426medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.41%
33.3th percentile
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
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:7.1.2.1+dfsg1-1 (forky) | imagemagick 8:7.1.2.1+dfsg1-1 (forky) |
| imagemagick | imagemagick | < 7.1.2-1 | 7.1.2-1 |
| imagemagick | imagemagick | < 6.9.13-27 | 6.9.13-27 |
| imagemagick | imagemagick | >= 0 < 8:7.1.2.1+dfsg1-1 | 8:7.1.2.1+dfsg1-1 |
| imagemagick | imagemagick | >= 0 < 8:6.7.7.10-6ubuntu3.13+esm14 | 8:6.7.7.10-6ubuntu3.13+esm14 |
| imagemagick | imagemagick | >= 0 < 8:6.8.9.9-7ubuntu5.16+esm13 | 8:6.8.9.9-7ubuntu5.16+esm13 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.4+dfsg-16ubuntu6.15+esm5 | 8:6.9.7.4+dfsg-16ubuntu6.15+esm5 |
| imagemagick | imagemagick | >= 0 < 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 | 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3 | 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm3 |
| imagemagick | imagemagick | >= 0 < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2 | 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm2 |
| imagemagick | imagemagick | >= 7.0.0-0 < 7.1.2-1 | 7.1.2-1 |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv7.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian6.1LOW
vendor_redhat6.1MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
imagemagick vulnerabilities
osv·2025-09-18·CVSS 7.8
CVE-2025-55154 [HIGH] imagemagick vulnerabilities
imagemagick vulnerabilities
It was discovered that ImageMagick did not properly handle memory when
performing magnified size calculations. An attacker could possibly use this
issue to cause ImageMagick to crash, resulting in a denial of service, or
possibly execute arbitrary code. (CVE-2025-55154)
Woojin Park, Hojun Lee, Youngin Won, and Siyeon Han discovered that
ImageMagick incorrectly handled creating thumbnail images for certain
dimensions. An attacker could possibly use this issue to cause ImageMagick
to crash, resulting in a denial of service. This issue only affected Ubuntu
24.04 LTS. (CVE-2025-55212)
Lumina Mescuwa discovered that ImageMagick did not properly handle cloning
splay trees in the MagickCore library. An attacker could possibly use this
issue to cause sanitized builds
OSV
ImageMagick has Undefined Behavior (function-type-mismatch) in CloneSplayTree
osv·2025-08-25
CVE-2025-55160 [MEDIUM] ImageMagick has Undefined Behavior (function-type-mismatch) in CloneSplayTree
ImageMagick has Undefined Behavior (function-type-mismatch) in CloneSplayTree
## Summary
- **Target:** ImageMagick (commit `ecc9a5eb456747374bae8e07038ba10b3d8821b3`)
- **Type:** Undefined Behavior (function-type-mismatch) in splay tree cloning callback
- **Impact:** Deterministic abort under UBSan (DoS in sanitizer builds). No crash in a non-sanitized build; likely low security impact.
- **Trigger:** Minimal **2-byte** input parsed via MagickWand, then coalescing.
## Environment
OS: macOS (Apple Silicon/arm64)
Homebrew clang version 20.1.8
Target: arm64-apple-darwin24.5.0
Thread model: posix
InstalledDir: /opt/homebrew/Cellar/llvm/20.1.8/bin
Configuration file: /opt/homebrew/etc/clang/arm64-apple-darwin24.cfg
Homebrew ImageMagick: `magick -version` → `ImageMagick 7.1.2-0 Q16-HDRI aarch64
GHSA
ImageMagick has Undefined Behavior (function-type-mismatch) in CloneSplayTree
ghsa·2025-08-25
CVE-2025-55160 [MEDIUM] CWE-758 ImageMagick has Undefined Behavior (function-type-mismatch) in CloneSplayTree
ImageMagick has Undefined Behavior (function-type-mismatch) in CloneSplayTree
## Summary
- **Target:** ImageMagick (commit `ecc9a5eb456747374bae8e07038ba10b3d8821b3`)
- **Type:** Undefined Behavior (function-type-mismatch) in splay tree cloning callback
- **Impact:** Deterministic abort under UBSan (DoS in sanitizer builds). No crash in a non-sanitized build; likely low security impact.
- **Trigger:** Minimal **2-byte** input parsed via MagickWand, then coalescing.
## Environment
OS: macOS (Apple Silicon/arm64)
Homebrew clang version 20.1.8
Target: arm64-apple-darwin24.5.0
Thread model: posix
InstalledDir: /opt/homebrew/Cellar/llvm/20.1.8/bin
Configuration file: /opt/homebrew/etc/clang/arm64-apple-darwin24.cfg
Homebrew ImageMagick: `magick -version` → `ImageMagick 7.1.2-0 Q16-HDRI aarch64
OSV
CVE-2025-55160: ImageMagick is free and open-source software used for editing and manipulating digital images
osv·2025-08-13·CVSS 5.3
CVE-2025-55160 [MEDIUM] CVE-2025-55160: ImageMagick is free and open-source software used for editing and manipulating digital images
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.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2025-09-18·CVSS 8.8
CVE-2025-55154 [HIGH] ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick did not properly handle memory when
performing magnified size calculations. An attacker could possibly use this
issue to cause ImageMagick to crash, resulting in a denial of service, or
possibly execute arbitrary code. (CVE-2025-55154)
Woojin Park, Hojun Lee, Youngin Won, and Siyeon Han discovered that
ImageMagick incorrectly handled creating thumbnail images for certain
dimensions. An attacker could possibly use this issue to cause ImageMagick
to crash, resulting in a denial of service. This issue only affected Ubuntu
24.04 LTS. (CVE-2025-55212)
Lumina Mescuwa discovered that ImageMagick did not properly handle cloning
splay trees in the MagickCore library.
Red Hat
imagemagick: ImageMagick: Undefined Behavior
vendor_redhat·2025-08-13·CVSS 6.1
CVE-2025-55160 [MEDIUM] CWE-758 imagemagick: ImageMagick: Undefined Behavior
imagemagick: ImageMagick: Undefined Behavior
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.
An undefined behavior flaw has been discovered in ImageMagick. In certain builds the splay tree cloning callback may exhibit undefined behavior.
Mitigation: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to wid
Debian
CVE-2025-55160: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...
vendor_debian·2025·CVSS 6.1
CVE-2025-55160 [MEDIUM] CVE-2025-55160: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...
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.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 8:7.1.2.1+dfsg1-1)
sid: resolved (fixed in 8:7.1.2.1+dfsg1-1)
trixie: open
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-9]
bugzilla·2025-08-13·CVSS 5.3
CVE-2025-55160 [MEDIUM] CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-9]
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-9]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
FEDORA-EPEL-2026-b12c038824 (ImageMagick-6.9.13.52-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b12c038824
---
FEDORA-EPEL-2026-967543b33f (ImageMa
Bugzilla
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-8]
bugzilla·2025-08-13·CVSS 5.3
CVE-2025-55160 [MEDIUM] CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-8]
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-8]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
FEDORA-EPEL-2026-2d971fc3b0 (ImageMagick-6.9.13.49-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-2d971fc3b0
---
FEDORA-EPEL-2026-fb9a9ab1e9 has been
Bugzilla
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-10]
bugzilla·2025-08-13·CVSS 5.3
CVE-2025-55160 [MEDIUM] CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-10]
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [epel-10]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
FEDORA-EPEL-2026-1daced0e85 (ImageMagick-7.1.2.27-1.el10_3) has been submitted as an update to Fedora EPEL 10.3.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-1daced0e85
---
FEDORA-2026-63fca288d6 (ImageM
Bugzilla
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [fedora-42]
bugzilla·2025-08-13·CVSS 5.3
CVE-2025-55160 [MEDIUM] CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [fedora-42]
CVE-2025-55160 ImageMagick: ImageMagick: Undefined Behavior [fedora-42]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
The following link provides references to all essential vulnerability management information. If something is wrong or missing, please contact a member of PSIRT.
https://spaces.redhat.com/display/PRODSEC/Vulnerability+Management+-+Essential+Documents+for+Engineering+Teams
Discussion:
This message is a reminder that Fedora Linux 42 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 42 on 2026-05-13.
It is Fedora's policy to close all bug reports from rel
2025-08-13
Published