ImageMagick versions prior to 7.1.2-36 have a use-after-free vulnerability in the ASHLAR encoder triggered by multi-threading failures. This flaw can cause application crashes or memory corruption when encoding ASHLAR images under specific failure conditions.