CVE-2023-29659 json
libheif vulnerable to segmentation fault via floating point exception
published 2023-05-05 3 y ago modified 2026-06-17 4 mo ago also GHSA-22fx-6r9m-r8h9 , EUVD-2023-1439
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/strukturag/libheif 1.15.2
- libheif Debian 12 1.15.1-1+deb12u1
- libheif Debian 14, Debian 13 1.16.2-1
debian advisories DEBIAN-CVE-2023-29659
- libheif Ubuntu Pro 20.04 LTS 1.6.1-1ubuntu0.1~esm1
- libheif Ubuntu Pro 22.04 LTS 1.12.0-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2023-29659
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libheif SLE Module for Package Hub 15 SP5, SLE Module for Desktop Applications 15 SP5, SLE Module for Desktop Applications 15 SP4 +2 more 1.12.0-150400.3.11.1
suse advisories SUSE-SU-2023:2223-2SUSE-SU-2023:2223-1
- libheif openSUSE Tumbleweed 1.19.5-2.1
opensuse advisories openSUSE-SU-2024:14579-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-29659 updated cvss 6.5
libheif: segfault caused by divide-by-zero
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.93% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/strukturag/libheif/issues/794 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/strukturag/libheif | <1.15.2 |
1.15.2 |
Classification
- Weakness
-
- CWE-369 Divide By Zero
References
-
github.com
/strukturag/libheif/commit/e05e15b57a38ec411cb9acb38512a1c36ff62991
web
-
github.com
/strukturag/libheif/issues/794
web, exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-29659
advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L
web
Sources
- CVE List CVE-2023-29659
- GitHub Advisory GHSA-22fx-6r9m-r8h9
- NVD CVE-2023-29659
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.