A vulnerability was found in ImageMagick up to 6.9.13-33/7.1.2-8. It has been classified as critical. The impacted element is the function Options::fontFamily of the component Magick++ Layer. Performing manipulation results in double free.

This vulnerability was named CVE-2025-65955. The attack may be initiated remotely. There is no available exploit.

Upgrading the affected component is recommended.