PT-2026-164840
CVE-2026-140359
·
Published
2026-12-01
·
Updated
2026-12-01
Description by
CVSS 3.1
2.5
LowMetricsAV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions
ImageMagick versions prior to 6.9.13-61
ImageMagick versions prior to 7.1.2-36
Description
A heap buffer overflow occurs in the
ShearRotateImage() function. This issue arises when a specific argument causes a write operation to exceed the boundaries of a heap buffer. An attacker can provide a crafted argument to this function, which is accessible via the API, to corrupt heap memory and cause the application to crash. A heap buffer overflow is a condition where a program writes more data to a heap-allocated memory block than it can hold.Recommendations
Update to version 6.9.13-61 or later.
Update to version 7.1.2-36 or later.
As a temporary mitigation, restrict access to the
ShearRotateImage() function via the API. Found an issue in the description? Have something to add? Feel free to write us 👾