CVE Professor
/
All CVEs
CVE-2026-140370

CVE-2026-140370 — Imagemagick (all Versions) — CWE-122

MEDIUM CVSS 6.3 NVD

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality None C:N
Integrity Low I:L
Availability Low A:L
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140370
CVSS 6.3/10 · MEDIUM · 01.12.2026
CWE: CWE-122
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Buffer Overflow / Memory Corruption
Summary: ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.
Affected: imagemagick imagemagick

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L); reduced availability or partial DoS (A:L).

🛡️ REMEDIATION
→ Apply vendor security update for imagemagick imagemagick.
→ Verify ASLR/NX/Stack Canary are active.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="imagemagick imagemagick"
CVSS Score
6.3 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-122
Affected Products (1)
imagemagick:imagemagick (all versions)
References & Advisories (2)
Related CVEs
6.9
CVE-2026-135758
A heap-based buffer overflow in the license file parser of Revenera FlexNet Publisher lmadmin versions 11.19.1
5.3
CVE-2026-144811
A vulnerability was identified in imamhs OpenOBJ3D up to f5a522c409428de7bf68844cf8951522e3d09485. This affect
4.8
CVE-2026-144812
A security flaw has been discovered in imamhs OpenOBJ3D up to f5a522c409428de7bf68844cf8951522e3d09485. This i
9.8
CVE-2026-119106
IBM AIX 7.2, and 7.3 and VIOS 4.1 could allow a remote attacker to execute arbitrary code due to a heap-based
9.8
CVE-2026-88253
Memory Corruption when processing a malformed JPEG image due to a missing bounds check.
8.5
CVE-2026-144458
CERN ROOT before 6.40.00 contains a heap-based buffer overflow vulnerability in the loops that decompress mult
8.3
CVE-2026-144477
readsb 3.14.1607 before 3.16.8 contains a heap-based buffer overflow vulnerability in readFspec() in net_io.c