Several security issues were fixed in libheif.

Source: Ubuntu libheif Critical Denial of Service Issues USN-8454-1