CVE-2025-55004
published 2025-08-13CVE-2025-55004: ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, ImageMagick is vulnerable to…
PriorityP421medium4.3CVSS 3.1
AVNACLPRNUIRSUCLINAN
EPSS
0.52%
40.8th percentile
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, ImageMagick is vulnerable to heap-buffer overflow read around the handling of images with separate alpha channels when performing image magnification in ReadOneMNGIMage. This can likely be used to leak subsequent memory contents into the output image. This issue has been patched in version 7.1.2-1.
Affected
4 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 | >= 0 < 8:7.1.1.43+dfsg1-1+deb13u2 | 8:7.1.1.43+dfsg1-1+deb13u2 |
| imagemagick | imagemagick | >= 0 < 8:7.1.2.1+dfsg1-1 | 8:7.1.2.1+dfsg1-1 |
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
osv4.3MEDIUM
vendor_debian7.6LOW
vendor_redhat7.6HIGH
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.
Red Hat
imagemagick: ImageMagick: heap-buffer overflow
vendor_redhat·2025-08-13·CVSS 7.6
CVE-2025-55004 [HIGH] CWE-122 imagemagick: ImageMagick: heap-buffer overflow
imagemagick: ImageMagick: heap-buffer overflow
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, ImageMagick is vulnerable to heap-buffer overflow read around the handling of images with separate alpha channels when performing image magnification in ReadOneMNGIMage. This can likely be used to leak subsequent memory contents into the output image. This issue has been patched in version 7.1.2-1.
A heap-based buffer overflow flaw was found in ImageMagick. This issue is present when handling images with separate alpha channels and performing image magnification in ReadOneMNGIMage. This vulnerability could be exploited to leak subsequent memory contents into the output image.
Mitigation: Mitigation for this issue is eithe
Debian
CVE-2025-55004: imagemagick - ImageMagick is free and open-source software used for editing and manipulating d...
vendor_debian·2025·CVSS 7.6
CVE-2025-55004 [HIGH] CVE-2025-55004: 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 version 7.1.2-1, ImageMagick is vulnerable to heap-buffer overflow read around the handling of images with separate alpha channels when performing image magnification in ReadOneMNGIMage. This can likely be used to leak subsequent memory contents into the output image. This issue has been patched in version 7.1.2-1.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 8:7.1.2.1+dfsg1-1)
sid: resolved (fixed in 8:7.1.2.1+dfsg1-1)
trixie: resolved (fixed in 8:7.1.1.43+dfsg1-1+deb13u2)
OSV
imagemagick: heap-buffer overflow read in MNG magnification with alpha
osv·2025-08-25
CVE-2025-55004 [HIGH] imagemagick: heap-buffer overflow read in MNG magnification with alpha
imagemagick: heap-buffer overflow read in MNG magnification with alpha
## **Vulnerability Details**
When performing image magnification in `ReadOneMNGIMage` (in `coders/png.c`), there is an issue around the handling of images with separate alpha channels.
When loading an image with a color type that implies a separate alpha channel (ie. `jng_color_type >= 12`), we will load the alpha pixels in this loop:
```c
if (logging != MagickFalse)
(void) LogMagickEvent(CoderEvent,GetMagickModule(),
" Reading alpha from alpha_blob.");
jng_image=ReadImage(alpha_image_info,exception);
if (jng_image != (Image *) NULL)
for (y=0; y rows; y++)
{
s=GetVirtualPixels(jng_image,0,y,image->columns,1,exception);
q=GetAuthenticPixels(image,0,y,image->columns,1,exception); // [0]
if ((s == (const Quantum *) NU
GHSA
imagemagick: heap-buffer overflow read in MNG magnification with alpha
ghsa·2025-08-25
CVE-2025-55004 [HIGH] CWE-122 imagemagick: heap-buffer overflow read in MNG magnification with alpha
imagemagick: heap-buffer overflow read in MNG magnification with alpha
## **Vulnerability Details**
When performing image magnification in `ReadOneMNGIMage` (in `coders/png.c`), there is an issue around the handling of images with separate alpha channels.
When loading an image with a color type that implies a separate alpha channel (ie. `jng_color_type >= 12`), we will load the alpha pixels in this loop:
```c
if (logging != MagickFalse)
(void) LogMagickEvent(CoderEvent,GetMagickModule(),
" Reading alpha from alpha_blob.");
jng_image=ReadImage(alpha_image_info,exception);
if (jng_image != (Image *) NULL)
for (y=0; y rows; y++)
{
s=GetVirtualPixels(jng_image,0,y,image->columns,1,exception);
q=GetAuthenticPixels(image,0,y,image->columns,1,exception); // [0]
if ((s == (const Quantum *) NU
OSV
CVE-2025-55004: ImageMagick is free and open-source software used for editing and manipulating digital images
osv·2025-08-13·CVSS 4.3
CVE-2025-55004 [MEDIUM] CVE-2025-55004: 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 version 7.1.2-1, ImageMagick is vulnerable to heap-buffer overflow read around the handling of images with separate alpha channels when performing image magnification in ReadOneMNGIMage. This can likely be used to leak subsequent memory contents into the output image. This issue has been patched in version 7.1.2-1.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [epel-8]
bugzilla·2025-08-13·CVSS 4.3
CVE-2025-55004 [MEDIUM] CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [epel-8]
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [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:
Any update on patching this for EPEL8?
---
Lets join forces here: https://bugzilla.redhat.com/show_bug.cgi?id=2480754
Bugzilla
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [fedora-42]
bugzilla·2025-08-13·CVSS 4.3
CVE-2025-55004 [MEDIUM] CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [fedora-42]
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [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 r
Bugzilla
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [epel-9]
bugzilla·2025-08-13·CVSS 4.3
CVE-2025-55004 [MEDIUM] CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [epel-9]
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [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 (Image
Bugzilla
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [epel-10]
bugzilla·2025-08-13·CVSS 4.3
CVE-2025-55004 [MEDIUM] CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [epel-10]
CVE-2025-55004 ImageMagick: ImageMagick: heap-buffer overflow [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 (Imag
2025-08-13
Published