Vulnerabilities · 2026 · Imagemagick
CVE-2026-23876
Imagemagick vulnerability
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-13 and 6.9.13-38, a heap buffer overflow vulnerability in the XBM image decoder (ReadXBMImage) allows an attacker to write controlled data past the allocated heap buffer when processing a maliciously crafted image file. Any operation that reads or identifies an image can trigger the overflow, making it exploitable via common image upload and processing pipelines. Versions 7.1.2-13 and 6.9.13-38 fix the issue.
Affected products
Imagemagick. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-r49w-jqq3-3gx8 · Exploit
- github.com/ImageMagick/ImageMagick/commit/2fae24192b78fdfdd27d766fd21d90aeac6ea8b8 · Patch
- access.redhat.com/errata/RHSA-2026:3058
- access.redhat.com/security/cve/CVE-2026-23876
- bugzilla.redhat.com/show_bug.cgi?id=2431038
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23876.json
- nvd.nist.gov/vuln/detail/CVE-2026-23876
- cve.org/CVERecord?id=CVE-2026-23876
More vulnerabilities in Imagemagick products
CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628CVE-2025-65955All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.