All vulnerabilities

Servers and applications

CVE-2026-140366

ImageMagick before 7.1.2-36 Heap Buffer Overflow via C++ readImages and montage

Severity
Low 2.0
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
6.9.13-61, 7.1.2-36
Weakness
Out-of-bounds write (CWE-787)
Attack
Needs local access · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
CVE Program

Description

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the C++ readImages and montage API that writes a single zero byte past the end of a heap buffer. Attackers able to call these C++ API functions can trigger the out-of-bounds write, corrupting heap memory and potentially crashing the application.

From the CVE Program.

Affected software

SoftwareAffected versions
ImageMagickServers and applications · cna:imagemagick|imagemagick
  • Every version before 6.9.13-61
  • From 7.0.0 before 7.1.2-36

About ImageMagick

free and open-source software

From Wikidata, CC0 1.0.
GitHub stars
17,963GitHub, 29 Nov 2026
Forks
1,718GitHub, 29 Nov 2026
Latest release
7.1.2-36GitHub, 29 Nov 2026
Released
16 Nov 2026GitHub
Developer
ImageMagick Studio LLCWikidata
License
ImageMagick LicenseWikidata
Written in
CWikidata
First released
1990Wikidata
First published on GitHub
17 May 2015GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140366