CVE-2026-140359

ImageMagick before 7.1.2-36 Heap Buffer Overflow via ShearRotateImage

Published Dec 1, 2026 CVSS 4.0 · 2 Low EPSS n/a KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title ImageMagick before 7.1.2-36 Heap Buffer Overflow via ShearRotateImage
First Time appeared Imagemagick
Imagemagick imagemagick
Weaknesses CWE-131
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Vendors & Products Imagemagick
Imagemagick imagemagick
References
Metrics cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 2, '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'}

Weaknesses
  • CWE-131

    Incorrect Calculation of Buffer Size

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 1, 2026, 2:30 PM
Reserved
Dec 1, 2026, 3:05 AM
Status
Undergoing Analysis
Published
Dec 1, 2026, 3:17 PM
Modified
Dec 1, 2026, 3:17 PM