Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-29659 EUVD-2023-1439GHSA-22fx-6r9m-r8h9

libheif vulnerable to segmentation fault via floating point exception

Published May 5, 2023 · Updated Jan 29, 2025 · Assigned by mitre

Description

A Segmentation fault caused by a floating point exception exists in libheif 1.15.1 using crafted heif images via the heif::Fraction::round() function in box.cc, which causes a denial of service.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libheif 1.16.2-1 —
Debian 13 libheif 1.16.2-1 —
Debian 12 libheif 1.15.1-1+deb12u1 DSA-5796-1
Debian 11 libheif 1.11.0-1+deb11u2 DLA-3945-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS libheif 1.12.0-2ubuntu0.1~esm1 USN-6847-1
Ubuntu Pro 20.04 LTS libheif 1.6.1-1ubuntu0.1~esm1 USN-6847-1
Ubuntu Pro 18.04 LTS libheif 1.1.0-2ubuntu0.1~esm1 USN-6847-1
ReleasePackageFixed inAdvisory
SLES 15 SP5 libheif 1.12.0-150400.3.11.1 SUSE-SU-2023:2223-2
SLES 15 SP4 libheif 1.12.0-150400.3.11.1 SUSE-SU-2023:2223-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libheif 1.19.5-2.1 openSUSE-SU-2024:14579-1
openSUSE Leap 15.5 libheif 1.12.0-150400.3.11.1 SUSE-SU-2023:2223-2
openSUSE Leap 15.4 libheif 1.12.0-150400.3.11.1 SUSE-SU-2023:2223-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/strukturag/libheif < 1.15.2 1.15.2 GHSA-22fx-6r9m-r8h9

Advisories 6

References