ImageMagick versions prior to 7.1.2-32 and 6.9.13-57 contain a policy bypass vulnerability in the LoadPolicyCache function. This vulnerability arises when the policy.xml file uses an alternate DOCTYPE, causing the parser to skip applying security policy rules. This allows restricted operations to be performed that should otherwise be blocked. The vulnerability has a medium severity rating with a CVSS score of 4.2.