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
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
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)
- 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-140358
- CVE-2026-140356
- CVE-2026-140353
- CVE-2026-140357
- CVE-2026-140354
- CVE-2026-140351
- CVE-2026-140352
- CVE-2026-140366
- CVE-2026-140359
Read the advisory · github.com (opens in a new tab)
Each of the 27 CVEs (every link below opens in a new tab)
- CVE-2026-140373A crafted image can overflow heap memory, crashing the program or corrupting memory. CVSS 8.2 CVE-2026-140373 advisory · CVE-2026-140373 write-up
- CVE-2026-140370A crafted MAC image can overflow heap memory, causing a crash or corruption. CVSS 8.2 CVE-2026-140370 advisory · CVE-2026-140370 write-up
- CVE-2026-140372A crafted HEIC file can crash the program or leak nearby memory. CVSS 8.2 CVE-2026-140372 advisory · CVE-2026-140372 write-up
Show 24 more
- CVE-2026-140378A crafted MSL file can crash the program. CVSS 7.5 CVE-2026-140378 advisory · CVE-2026-140378 write-up
- CVE-2026-140374A crafted MSVG image can exhaust system resources and stop service. CVSS 7.5 CVE-2026-140374 advisory · CVE-2026-140374 write-up
- CVE-2026-140369A crafted MIFF image can leak uninitialized memory contents. CVSS 6.9 CVE-2026-140369 advisory · CVE-2026-140369 write-up
- CVE-2026-140367A crafted PGX or FITS image can leak uninitialized memory into the output image. CVSS 6.9 CVE-2026-140367 advisory · CVE-2026-140367 write-up
- CVE-2026-140377Concurrent processing of crafted images can cause memory corruption and a crash. CVSS 6.3 CVE-2026-140377 advisory · CVE-2026-140377 write-up
- CVE-2026-140375A crafted FITS image can drive CPU use so high that service slows or stops. CVSS 6.3 CVE-2026-140375 advisory · CVE-2026-140375 write-up
- CVE-2026-140371A crafted DJVU file can leak uninitialized memory contents. CVSS 6.3 CVE-2026-140371 advisory · CVE-2026-140371 write-up
- CVE-2026-140364A crafted ICON file can overflow heap memory and crash the program. CVSS 6.3 CVE-2026-140364 advisory · CVE-2026-140364 write-up
- CVE-2026-140361The -splice operation can bypass the configured time limit and use resources for longer. CVSS 6.3 CVE-2026-140361 advisory · CVE-2026-140361 write-up
- CVE-2026-140360A missing check in sub image search lets the operation exceed the configured time limit, so crafted images can cause long searches that consume resources and deny service. CVSS 6.3 CVE-2026-140360 advisory · CVE-2026-140360 write-up
- CVE-2026-140355Improper synchronization when several DOT images are decoded concurrently in a multithreaded setting leads to a use-after-free, crashing the application. CVSS 6.3 CVE-2026-140355 advisory · CVE-2026-140355 write-up
- CVE-2026-140363The EXR decoder has a heap buffer overflow, so an EXR image with large dimensions can overwrite heap memory, causing crashes or memory corruption. CVSS 6.3 CVE-2026-140363 advisory · CVE-2026-140363 write-up
- CVE-2026-140368Encoders exporting pixels for 12-bit images can write past a heap buffer when given a crafted image, causing crashes or memory corruption. CVSS 6.1 CVE-2026-140368 advisory · CVE-2026-140368 write-up
- CVE-2026-140362Supplying an invalid argument to the -rotational-blur option causes an infinite loop, so an attacker who controls command-line arguments can exhaust CPU and cause denial of service. CVSS 5.7 CVE-2026-140362 advisory · CVE-2026-140362 write-up
- CVE-2026-140376A crafted MPC image and cache file can trigger a use-after-free in the decoder, crashing the application and causing denial of service. CVSS 5.5 CVE-2026-140376 advisory · CVE-2026-140376 write-up
- CVE-2026-140358Invoking specific draw operations can read past a heap buffer or dereference a NULL pointer, leading to a crash or exposure of memory contents. CVSS 4.5 CVE-2026-140358 advisory · CVE-2026-140358 write-up
- CVE-2026-140356An integer overflow in a specific stream operation causes reads past the end of a heap buffer, so a local attacker supplying input can crash the application or disclose adjacent heap memory. CVSS 4.0 CVE-2026-140356 advisory · CVE-2026-140356 write-up
- CVE-2026-140353Using WandView with specific thread settings causes out-of-bounds heap reads, so a local attacker can crash the application or disclose adjacent memory. CVSS 4.0 CVE-2026-140353 advisory · CVE-2026-140353 write-up
- CVE-2026-140357When the DPX encoder processes an image decoded from PICT, it reads past a heap buffer, so a crafted PICT file can crash the process or disclose heap memory. CVSS 3.6 CVE-2026-140357 advisory · CVE-2026-140357 write-up
- CVE-2026-140354Concurrent use of the splay tree accesses freed memory, so an attacker who triggers a crafted set of concurrent calls can crash the application. CVSS 2.9 CVE-2026-140354 advisory · CVE-2026-140354 write-up
- CVE-2026-140351In a very specific situation during pixel export, a crafted image causes a small heap buffer overwrite, potentially leading to a crash or memory corruption. CVSS 2.9 CVE-2026-140351 advisory · CVE-2026-140351 write-up
- CVE-2026-140352When a specific failure occurs during multithreaded ASHLAR encoding, the encoder accesses freed memory, so an attacker who triggers that failure can cause crashes or memory corruption. CVSS 2.9 CVE-2026-140352 advisory · CVE-2026-140352 write-up
- CVE-2026-140366An attacker who can call the readImages or montage functions of the C++ API can write one zero byte past a heap buffer, corrupting heap memory and possibly crashing the application. CVSS 2.5 CVE-2026-140366 advisory · CVE-2026-140366 write-up
- CVE-2026-140359A specific argument to the ShearRotateImage method causes a write beyond a heap buffer, so an attacker using the API can corrupt heap memory and crash the application. CVSS 2.5 CVE-2026-140359 advisory · CVE-2026-140359 write-up