CVE-2026-140366
Last modified
CVE-2026-140366 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | >= 7.0.0, < 7.1.2-36 |
| ImageMagick | ImageMagick | < 6.9.13-61 |
References
Timeline
- Published
- Last Modified
- Status
- Undergoing Analysis
Frequently Asked Questions
What is CVE-2026-140366?
How severe is CVE-2026-140366?
How do I fix CVE-2026-140366?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-140360ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contain…3.7
- CVE-2026-140361ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 has a m…3.7
- CVE-2026-140362ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contain…4.7
- CVE-2026-140363ImageMagick before 7.1.2-36 contains a heap buffer overflow …4.8
- CVE-2026-140364ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contain…4.8
- CVE-2026-140365ARTEX 0.4.0 before 0.5.1 lacks rate limiting, lockout, or ba…8.1
- CVE-2026-140367ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 expose …5.3
- CVE-2026-140368ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contain…3.6
- CVE-2026-140369ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contain…5.3
- CVE-2026-14037Insufficient policy enforcement in GPU in Google Chrome prio…9.6
- CVE-2026-140370ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contain…4.8
- CVE-2026-140371ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contain…3.7
Are you affected by CVE-2026-140366?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
