Patch Ticker
EnglishEN
Elevated

ImageMagick PCL, PDF, PS and XPS decoders heap buffer overflow

CVE-2026-140373 and 26 more

Feeding a tampered file to the ImageMagick image tool can make programs freeze or corrupt memory.

CVE
CVE-2026-140373 and 26 more
Score
CVSS 8.2 · CVE-2026-140373
Public date
2026-11-16
First seen
8.2
Products
Disclosed together Windows macOS Linux ImageMagick

Mitigation

Update the 7.x line to 7.1.2-36 and the 6.x line to 6.9.13-61.

Update to at least the version for your product:

  • ImageMagick 7.x 7.1.2-36 or later
  • ImageMagick 6.x 6.9.13-61 or later

Summary

A heap buffer overflow in ImageMagick's PCL, PDF, PS and XPS decoders lets a crafted image crash the program or corrupt its memory; 7.x before 7.1.2-36 and 6.x before 6.9.13-61 are affected. The same fixed releases also correct memory information leaks, use-after-free, resource exhaustion and policy bypass flaws.

Affected when

  • CVE-2026-140362 attacker can control ImageMagick command-line arguments
  • CVE-2026-140366 programs calling the C++ readImages or montage API
  • CVE-2026-140359 programs calling ShearRotateImage through the API

3 other Incidents of this product in the last 30 days

Incidents by product: ImageMagick

All Incidents of 2026-12-01

Distribution packages (2) (every link below opens in a new tab)
  • Debian 13 (trixie)imagemagick · not fixed yet CVE-2026-140373, CVE-2026-140370, CVE-2026-140372, CVE-2026-140378, CVE-2026-140374, CVE-2026-140369, CVE-2026-140367, CVE-2026-140377, CVE-2026-140375, CVE-2026-140371, CVE-2026-140364, CVE-2026-140361, CVE-2026-140360, CVE-2026-140355, CVE-2026-140363, CVE-2026-140368, CVE-2026-140362, CVE-2026-140376, CVE-2026-140356, CVE-2026-140353, CVE-2026-140357, CVE-2026-140354, CVE-2026-140351, CVE-2026-140352, CVE-2026-140366, CVE-2026-140359
  • Debian 12 (bookworm)imagemagick · not fixed yet CVE-2026-140373, CVE-2026-140370, CVE-2026-140372, CVE-2026-140378, CVE-2026-140374, CVE-2026-140369, CVE-2026-140367, CVE-2026-140377, CVE-2026-140375, CVE-2026-140371, CVE-2026-140364, CVE-2026-140361, CVE-2026-140360, CVE-2026-140355, CVE-2026-140363, CVE-2026-140368, CVE-2026-140362, CVE-2026-140376, CVE-2026-140356, CVE-2026-140353, CVE-2026-140357, CVE-2026-140354, CVE-2026-140351, CVE-2026-140352, CVE-2026-140366, CVE-2026-140359

Sources: Debian Security Tracker

27 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 27 CVEs (every link below opens in a new tab)

Show 24 more