CVE Watchtower

CVE-2026-23876Imagemagick Imagemagick Heap-based Buffer Overflow

NVDCVSS scored by security-advisories@github.com

Vulnerability Summary

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.
Severity Level
HIGH(8.1)
Published Date
Jan 20, 2026
Last Modified
Jul 15, 2026
Exploitation Status
Public exploit available
EPSS Score (30-Day)
0.58%Probability
Root Weakness (CWE)
The buffer being overwritten is allocated in the heap portion of memory.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes the resulting value will always be larger than the original.
The product writes data past the end, or before the beginning, of the intended buffer.
CVSS v3.1 Base Metrics — Score 8.1 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Imagemagick Imagemagick < 6.9.13-38
  • Imagemagick Imagemagick >= 7.0.0-0 and < 7.1.2-13
Patched Versions
  • Imagemagick Imagemagick 6.9.13-38
  • Imagemagick Imagemagick 7.1.2-13

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run Imagemagick Imagemagick and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Jan 20, 2026Published
  • Jul 15, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Imagemagick Imagemagick CVEsYou are reading CVE-2026-23876. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 19, 2026 10:07 UTC