CVE-2023-29659: libheif vulnerable to segmentation fault via floating point exception
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/strukturag/libheifto a version that resolves this vulnerability.Fixed in 1.15.2 - Upgrade
Upgrade
debian/libheifto a version that resolves this vulnerability.Fixed in 1.11.0-1+deb11u2Fixed in 1.15.1-1+deb12u1Fixed in 1.16.2-1 - Upgrade
Upgrade
ubuntu/libheifto a version that resolves this vulnerability.Fixed in 1.6.1-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/libheifto a version that resolves this vulnerability.Fixed in 1.12.0-2ubuntu0.1~esm1
Event History
Frequently Asked Questions
What is CVE-2023-29659 vulnerability?
CVE-2023-29659 is a vulnerability in libheif 1.15.1 that causes a segmentation fault and denial of service when processing crafted heif images.
What is the severity of CVE-2023-29659?
The severity of CVE-2023-29659 is medium with a CVSS score of 6.5.
Which software versions are affected by CVE-2023-29659?
Versions up to, but not including, 1.15.2 of libheif are affected by CVE-2023-29659.
How can I fix CVE-2023-29659 vulnerability?
To fix the CVE-2023-29659 vulnerability, you should update to version 1.15.2 or higher of libheif.
What is the CWE ID for CVE-2023-29659?
The CWE ID for CVE-2023-29659 is CWE-369.