Division by zero in libheif - CVE-2023-29659
Published: May 16, 2023
Vulnerability identifier: #VU76229
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-29659
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: struktur AG
Affected software:
libheif
libheif
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a floating point exception within the heif::Fraction::round() function in box.cc. A remote attacker can perform a denial of service (DoS) attack.
How to mitigate CVE-2023-29659
Install update from vendor's website.
Sources
- https://github.com/strukturag/libheif/issues/794
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L/
- https://github.com/advisories/GHSA-22fx-6r9m-r8h9