CVE Professor
/
All CVEs
CVE-2026-140359

CVE-2026-140359 — ImageMagick (7.1.2-36) — CWE-131

LOW CVSS 2.5 NVD

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash the application.

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash the application.

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

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140359
CVSS 2.5/10 · LOW · 01.12.2026
CWE: CWE-131
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/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 buffer overflow in the ShearRotateImage method, where a specific argument causes a write beyond the bounds of a heap buffer. Attackers able to pass a crafted argument to ShearRotateImage, which is only reachable through the API, can corrupt heap memory and crash the application.
Affected: ImageMagick ImageMagick

⚡ ATTACK VECTOR
Local/physical access (AV:L) · no authentication required (PR:N) · user interaction required (UI:R).

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

🛡️ REMEDIATION
→ Apply vendor security update for ImageMagick ImageMagick.
→ Verify ASLR/NX/Stack Canary are active.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📌 Low priority — routine update sufficient.

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

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="ImageMagick ImageMagick"
CVSS Score
2.5 / 10 · CVSS LOW
Weakness Types (CWE)
CWE-131
Affected Products (2)
ImageMagick:ImageMagick (7.1.2-36) ImageMagick:ImageMagick (6.9.13-61)
References & Advisories (2)
Related CVEs
5.3
CVE-2026-132809
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. `django.contrib.
6.3
CVE-2026-144592
PrivateBin through 2.1.1 contains a race condition vulnerability in Paste::get() that allows a burn-after-read
6.3
CVE-2026-145357
Metorial Platform through commit 1b5ff9b contains an egress policy bypass vulnerability in the MCP runtime OAu
5.1
CVE-2026-144610
Fuint through commit 567e2c8 contains an insecure direct object reference vulnerability that allows authentica
5.1
CVE-2026-144612
modified eCommerce Shopsoftware through 3.3.0 contains a path traversal vulnerability in the download action o
5.1
CVE-2026-144512
A flaw has been found in Discourse up to 2026.9.0. Affected is the function TopicConverter#convert_to_private_
4.8
CVE-2025-71478
Zipware for Windows through 1.6 contains a Mark-of-the-Web bypass vulnerability because it does not propagate