# CVE-2019-11471: libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::setalphachannel in heifcontext.h because heifcontext.cc mishandles referenc…

- Severity: High 8.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.84%, higher than 80% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2019-04-23T13:55:06.000Z
- Modified: 2026-06-17T02:12:57.620Z
- Weaknesses: CWE-416
- Assigned by: mitre

## Description

libheif 1.4.0 has a use-after-free in heif::HeifContext::Image::set_alpha_channel in heif_context.h because heif_context.cc mishandles references to non-existing alpha images.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- struktur libheif: 1.4.0

## Every score

- NVD: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/strukturag/libheif/issues/123> (exploit, patch, third-party-advisory)
- <https://github.com/strukturag/libheif/commit/995a4283d8ed2d0d2c1ceb1a577b993df2f0e014> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2019-11471](https://www.cve.org/CVERecord?id=CVE-2019-11471), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-11471](https://nvd.nist.gov/vuln/detail/CVE-2019-11471), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-11471 · Whole record: https://cve.day/CVE-2019-11471.json · Rebuilt by cve.day 2026-11-25T22:57:44.518Z
