ImageMagick versions prior to 7.1.2-27 contain a memory leak vulnerability in the magick command-line interface triggered by invalid options. This flaw can cause memory exhaustion if malformed command-line arguments are repeatedly supplied, potentially impacting system availability. The vulnerability has a moderate severity with a CVSS score of 3.3. No known exploits are reported in the wild. A fix is available in version 7.1.2-27.