CVE-2023-29659: Divide by Zero
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.15.1-1+deb12u1Fixed in 1.19.8-1+deb13u1Fixed in 1.23.6-2~deb13u1Fixed in 1.23.6-2
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.