CVE Vulnerabilities

CVE-2019-11471

Use After Free

Published: Apr 23, 2019 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Libheif Struktur 1.4.0 (including) 1.4.0 (including)
Libheif Ubuntu bionic *
Libheif Ubuntu cosmic *
Libheif Ubuntu devel *
Libheif Ubuntu disco *
Libheif Ubuntu eoan *
Libheif Ubuntu esm-apps/bionic *
Libheif Ubuntu esm-apps/focal *
Libheif Ubuntu esm-apps/jammy *
Libheif Ubuntu focal *
Libheif Ubuntu groovy *
Libheif Ubuntu hirsute *
Libheif Ubuntu impish *
Libheif Ubuntu jammy *
Libheif Ubuntu kinetic *
Libheif Ubuntu lunar *
Libheif Ubuntu mantic *
Libheif Ubuntu noble *

Potential Mitigations

References