| Name | CVE-2026-23874 |
| Description | ImageMagick is free and open-source software used for editing and manipulating digital images. Versions prior to 7.1.2-13 have a stack overflow via infinite recursion in MSL (Magick Scripting Language) `<write>` command when writing to MSL format. Version 7.1.2-13 fixes the issue. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4448-1, DSA-6111-1 |
| Debian Bugs | 1126075 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| imagemagick (PTS) | bullseye | 8:6.9.11.60+dfsg-1.3+deb11u4 | vulnerable |
| bullseye (security) | 8:6.9.11.60+dfsg-1.3+deb11u9 | fixed |
| bookworm | 8:6.9.11.60+dfsg-1.6+deb12u5 | vulnerable |
| bookworm (security) | 8:6.9.11.60+dfsg-1.6+deb12u6 | fixed |
| trixie | 8:7.1.1.43+dfsg1-1+deb13u4 | vulnerable |
| trixie (security) | 8:7.1.1.43+dfsg1-1+deb13u5 | fixed |
| forky, sid | 8:7.1.2.13+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-9vj4-wc7r-p844
Fixed by: https://github.com/ImageMagick/ImageMagick/commit/2a09644b10a5b146e0a7c63b778bd74a112ebec3 (7.1.2-13)
Fixed by: https://github.com/ImageMagick/ImageMagick6/commit/fe2970bbbe02c6fe875cc2b269390a3165d57706 (6.9.13-38)