CVE-2026-25969ImageMagick has Memory Leak in coders/ashlar.c
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-15, a memory leak exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure. However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak. Version 7.1.2-15 contains a patch.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | imagemagick | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-25969 | |
| Debian 14 | imagemagick | Fixed | 8:7.1.2.15+dfsg1-1 | DEBIAN-CVE-2026-25969 |
| Debian 13 | imagemagick | Fixed | 8:7.1.1.43+dfsg1-1+deb13u6 | DEBIAN-CVE-2026-25969 |
| Red Hat Enterprise Linux 7 | ImageMagick | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++ | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ImageMagick-c++-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ImageMagick-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ImageMagick-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ImageMagick-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++ | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-c++-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | ImageMagick-perl | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | imagemagick | Fixed | 7.1.2.15-r0 | ALPINE-CVE-2026-25969 |
| Alpine Linux 3.23 | imagemagick | Fixed | 7.1.2.15-r0 | ALPINE-CVE-2026-25969 |
| Alpine Linux 3.22 | imagemagick | Fixed | 7.1.2.15-r0 | ALPINE-CVE-2026-25969 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ImageMagick: affected: < 7.1.2-15
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.