cvelo
P4 · InfoCVSS 3.6EPSS 0.3%

ImageMagick before 7.1.2-36 Heap Buffer Overflow When Encoding 12-Bit Images

  • CVE-2026-140368
  • GHSA-4cgw-v5hg-6x29
  • EUVD-2026-140185

Description

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in encoders that export pixels for 12-bit images before encoding the image data. Attackers can supply a crafted image that, when processed and encoded, triggers an out-of-bounds heap write, causing crashes or memory corruption.

Text from the CVE.org record.

Recommendation

  • imagemagick

    • If you run a version from 7.0.0-0 to before 7.1.2-36update to 7.1.2-36 or laterMinor version change: check the release notes
    • If you run a version before 6.9.13-61update to 6.9.13-61 or later

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • imagemagick

    Affected versionsFixed in
    from 7.0.0-0 to before 7.1.2-367.1.2-36
    before 6.9.13-616.9.13-61

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.