CVE-2023-29659
libheif vulnerable to segmentation fault via floating point exception
CVE-2023-29659 is a medium vulnerability (CVSS 6.5) in Struktur Libheif, published May 5, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.93%, the 60th percentile. Fixed in github.com/strukturag/libheif 1.15.2.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2023-29659- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
CVE List
6.5
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.
- Record
CVE-2023-29659- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
EUVDEUVD-2023-1439
6.5
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.
- Record
EUVD-2023-1439- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-22fx-6r9m-r8h9
6.5
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.
- Record
GHSA-22fx-6r9m-r8h9- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2023-29659- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-29659
6.5
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.
- Record
DEBIAN-CVE-2023-29659- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVGHSA-22fx-6r9m-r8h9
6.5
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.
- Record
GHSA-22fx-6r9m-r8h9- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-369
- Updated
- 2026-11-02
OSVROOT-OS-UBUNTU-2204-CVE-2023-29659
6.5
CVE-2023-29659 in rootio-libheif - Patched by Root
Root has patched CVE-2023-29659 in the rootio-libheif package for Root:Ubuntu:22.04. Multiple fixed versions available.
- Record
ROOT-OS-UBUNTU-2204-CVE-2023-29659- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-29659
6.5
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.
- Record
UBUNTU-CVE-2023-29659- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14579-1 No score
gdk-pixbuf-loader-libheif-1.19.5-2.1 on GA media
These are all security issues fixed in the gdk-pixbuf-loader-libheif-1.19.5-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14579-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:2223-1 No score
Security update for libheif
This update for libheif fixes the following issues:
- CVE-2023-29659: Fixed segfault caused by divide-by-zero (bsc#1211174).
- Record
SUSE-SU-2023:2223-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:2223-2 No score
Security update for libheif
This update for libheif fixes the following issues:
- CVE-2023-29659: Fixed segfault caused by divide-by-zero (bsc#1211174).
- Record
SUSE-SU-2023:2223-2- Updated
- 2026-11-02
OSVUSN-6847-1 No score
libheif vulnerabilities
It was discovered that libheif incorrectly handled certain image data. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-11471)
Reza Mirzazade Farkhani discovered that libheif incorrectly handled certain image data. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-23109)
Eugene Lim discovered that libheif incorrectly handled certain image data. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-0996)
Min Jang discovered that libheif incorrectly handled certain image data. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-29659)
Yuchuan Meng discovered that libheif incorrectly handled certain image data. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affected Ubuntu 23.10. (CVE-2023-49460, CVE-2023-49462, CVE-2023-49463, CVE-2023-49464)
- Record
USN-6847-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/strukturag/libheifGo |
before 1.15.2 | 1.15.2 |
libheifDebian:12 |
before 1.15.1-1+deb12u1, plus listed versions 1.15.1-1 |
1.15.1-1+deb12u1 |
libheifDebian:13 |
before 1.16.2-1 | 1.16.2-1 |
libheifDebian:14 |
before 1.16.2-1 | 1.16.2-1 |
libheifDebian:11 |
before 1.11.0-1+deb11u2, plus listed versions 1.11.0-11.11.0-1+deb11u1 |
1.11.0-1+deb11u2 |
rootio-libheifRoot:Ubuntu:22.04 |
before 1.12.0-2build1.aikido.3 | 1.12.0-2build1.aikido.31.12.0-2build1.root.io.11.12.0-2build1.root.io.2 |
libheifSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 |
before 1.12.0-150400.3.11.1 | 1.12.0-150400.3.11.1 |
libheifopenSUSE:Leap 15.4 |
before 1.12.0-150400.3.11.1 | 1.12.0-150400.3.11.1 |
libheifSUSE:Linux Enterprise Module for Desktop Applications 15 SP5 |
before 1.12.0-150400.3.11.1 | 1.12.0-150400.3.11.1 |
libheifSUSE:Linux Enterprise Module for Package Hub 15 SP5 |
before 1.12.0-150400.3.11.1 | 1.12.0-150400.3.11.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libheifopenSUSE:Leap 15.5 |
before 1.12.0-150400.3.11.1 | 1.12.0-150400.3.11.1 |
libheifUbuntu:Pro:20.04:LTS |
before 1.6.1-1ubuntu0.1~esm1, plus listed versions 1.5.0-1build11.5.1-11.5.1-1build11.6.0-11.6.1-11.6.1-1build1 |
1.6.1-1ubuntu0.1~esm1 |
libheifUbuntu:Pro:22.04:LTS |
before 1.12.0-2ubuntu0.1~esm1, plus listed versions 1.11.0-11.12.0-2build1 |
1.12.0-2ubuntu0.1~esm1 |
libheifUbuntu:Pro:18.04:LTS |
before 1.1.0-2ubuntu0.1~esm1, plus listed versions 1.1.0-2 |
1.1.0-2ubuntu0.1~esm1 |
libheifopenSUSE:Tumbleweed |
before 1.19.5-2.1 | 1.19.5-2.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/strukturag/libheif/issues/794
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ
nvd.nist.gov/vuln/detail/CVE-2023-29659
github.com/strukturag/libheif/commit/e05e15b57a38ec411cb9acb38512a1c36ff62991
lists.fedoraproject.org/archives/list/[email protected]/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ
Show 20 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L
github.com/advisories/GHSA-22fx-6r9m-r8h9
github.com/CVEProject/cvelistV5/tree/main/cves/2023/29xxx/CVE-2023-29659.json
security-tracker.debian.org/tracker/CVE-2023-29659
suse.com/support/update/announcement/2023/suse-su-20232223-1
bugzilla.suse.com/1211174
suse.com/security/cve/CVE-2023-29659
suse.com/support/update/announcement/2023/suse-su-20232223-2
ubuntu.com/security/CVE-2023-29659
cve.org/CVERecord?id=CVE-2023-29659
ubuntu.com/security/notices/USN-6847-1
ubuntu.com/security/CVE-2019-11471
ubuntu.com/security/CVE-2020-23109
ubuntu.com/security/CVE-2023-0996
ubuntu.com/security/CVE-2023-49460
ubuntu.com/security/CVE-2023-49462
ubuntu.com/security/CVE-2023-49463
ubuntu.com/security/CVE-2023-49464
suse.com/security/cve/CVE-2023-0996
suse.com/security/cve/CVE-2024-41311