Impact
The flaw arises from a missing depth check in ImageMagick's fx operation. A crafted argument can trigger a stack overflow, potentially corrupting memory. The resulting memory corruption could lead to an application crash or, in some contexts, arbitrary code execution if the overwritten data controls execution flow. The weakness is classified as CWE‑674: Integer or Buffer Overflow.
Affected Systems
ImageMagick software, version 7.x prior to 7.1.2-23. The patch was released in version 7.1.2-23.
Risk and Exploitability
The CVSS score of 6.2 indicates a moderate risk. No EPSS data is available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would likely require the attacker to supply a malicious image to a system running an unpatched ImageMagick instance. Because the flaw resides in a stack‑based buffer, the attack vector is inferred to be local or through a remote service that processes images without proper input validation.
OpenCVE Enrichment
Debian DSA
Github GHSA