Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-140366— ImageMagick before 7.1.2-36 Heap Buffer Overflow via C++ readImages and montage

Quick assessment

Affected
ImageMagick ImageMagick
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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-bound

CVSS 2.5 · Low
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-140366

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ImageMagick before 7.1.2-36 Heap Buffer Overflow via C++ readImages and montage
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存写
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
ImageMagick ImageMagick 7.0.0 ~ 7.1.2-36 -
ImageMagick ImageMagick 0 ~ 6.9.13-61 -

II. Public POCs for CVE-2026-140366

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-140366

请登录查看更多情报信息。

Other References for CVE-2026-140366 (2)

Same Patch Batch · ImageMagick · 2026-12-01 · 27 CVEs total

CVE-2026-140373 6.5 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Overflow in Postscript Decoders
CVE-2026-140367 5.3 MEDIUM ImageMagick before 7.1.2-36 Information Disclosure via PGX and FITS Decoders
CVE-2026-140369 5.3 MEDIUM ImageMagick before 7.1.2-36 Information Disclosure via MIFF Decoder
CVE-2026-140372 5.3 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Over-Read via HEIC Decoder
CVE-2026-140370 4.8 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Overflow in MAC Decoder
CVE-2026-140363 4.8 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Overflow in EXR Decoder
CVE-2026-140364 4.8 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Overflow in ICON Decoder
CVE-2026-140362 4.7 MEDIUM ImageMagick before 7.1.2-36 Infinite Loop via -rotational-blur Option
CVE-2026-140358 4.5 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Over-Read and Null Pointer Dereference in Draw
CVE-2026-140356 4.0 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Over-Read via Stream Operation
CVE-2026-140353 4.0 MEDIUM ImageMagick before 7.1.2-36 Heap Buffer Over-Read via WandView Thread Settings
CVE-2026-140360 3.7 LOW ImageMagick before 7.1.2-36 Policy Bypass via Sub Image Search
CVE-2026-140377 3.7 LOW ImageMagick before 7.1.2-36 Use After Free in Image Registry
CVE-2026-140355 3.7 LOW ImageMagick before 7.1.2-36 Use After Free in DOT Decoder
CVE-2026-140371 3.7 LOW ImageMagick before 7.1.2-36 Information Disclosure via DJVU Decoder
CVE-2026-140375 3.7 LOW ImageMagick before 7.1.2-36 Denial of Service via FITS Decoder
CVE-2026-140374 3.7 LOW ImageMagick before 7.1.2-36 Denial of Service via MSVG Decoder
CVE-2026-140378 3.7 LOW ImageMagick before 7.1.2-36 Uninitialized Pointer Dereference in MSL Decoder
CVE-2026-140361 3.7 LOW ImageMagick before 7.1.2-36 Policy Bypass via -splice Operation
CVE-2026-140368 3.6 LOW ImageMagick before 7.1.2-36 Heap Buffer Overflow When Encoding 12-Bit Images

Showing top 20 of 27 CVEs. View all on vendor page → →

IV. Related Vulnerabilities