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.
[
{
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"95260294669190440127728145821624217456",
"303807190157222396603919287351486898039",
"4235846168162409445830265275337292217",
"130048297082083805368811421710562116177"
]
},
"id": "CVE-2019-11471-9443186f",
"source": "https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014",
"target": {
"file": "libheif/heif_context.cc"
}
},
{
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 7451.0,
"function_hash": "18988048238589524481853342468677268370"
},
"id": "CVE-2019-11471-d7dcf1e9",
"source": "https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014",
"target": {
"file": "libheif/heif_context.cc",
"function": "HeifContext::interpret_heif_file"
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-11471.json"