libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::setalphachannel in heifcontext.h because heifcontext.cc mishandles references to non-existing alpha images.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"95260294669190440127728145821624217456",
"303807190157222396603919287351486898039",
"4235846168162409445830265275337292217",
"130048297082083805368811421710562116177"
]
},
"signature_type": "Line",
"target": {
"file": "libheif/heif_context.cc"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014",
"id": "CVE-2019-11471-9443186f"
},
{
"digest": {
"function_hash": "18988048238589524481853342468677268370",
"length": 7451.0
},
"signature_type": "Function",
"target": {
"function": "HeifContext::interpret_heif_file",
"file": "libheif/heif_context.cc"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014",
"id": "CVE-2019-11471-d7dcf1e9"
}
]