ImageMagick versions before 7.1.2-19 contain a heap buffer overflow vulnerability in the FTXT encoder due to missing boundary checks when parsing ftxt:format. This vulnerability allows remote attackers to cause out-of-bounds reads by crafting malicious FTXT image files, potentially leading to denial of service or information disclosure.