ImageMagick FX Stack Overflow via Missing Depth Check (v<7.1.2-23)
CVE-2026-46557 Published on June 10, 2026

ImageMagick: Stack overflow in fx operation
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-23, due to a missing depth check a stack overflow can occur in the fx operation by passing a crafted argument. This issue has been patched in version 7.1.2-23.

NVD

Vulnerability Analysis

CVE-2026-46557 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Type

What is a Stack Exhaustion Vulnerability?

The product does not properly control the amount of recursion which takes place, consuming excessive resources, such as allocated memory or the program stack.

CVE-2026-46557 has been classified to as a Stack Exhaustion vulnerability or weakness.


Products Associated with CVE-2026-46557

Want to know whenever a new CVE is published for ImageMagick? stack.watch will email you.

 

Affected Versions

ImageMagick Version < 7.1.2-23 is affected by CVE-2026-46557