Every CVE Search/ Get API key

CVE-2023-29659

libheif vulnerable to segmentation fault via floating point exception

6.5 MediumFix available

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

0.93%Up 0.9 points since May 6, 2023
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
github.com/strukturag/libheif
Go
before 1.15.2
1.15.2
libheif
Debian:12
before 1.15.1-1+deb12u1, plus listed versions
1.15.1-1
1.15.1-1+deb12u1
libheif
Debian:13
before 1.16.2-1
1.16.2-1
libheif
Debian:14
before 1.16.2-1
1.16.2-1
libheif
Debian:11
before 1.11.0-1+deb11u2, plus listed versions
1.11.0-11.11.0-1+deb11u1
1.11.0-1+deb11u2
rootio-libheif
Root: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
libheif
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4
before 1.12.0-150400.3.11.1
1.12.0-150400.3.11.1
libheif
openSUSE:Leap 15.4
before 1.12.0-150400.3.11.1
1.12.0-150400.3.11.1
libheif
SUSE:Linux Enterprise Module for Desktop Applications 15 SP5
before 1.12.0-150400.3.11.1
1.12.0-150400.3.11.1
libheif
SUSE: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
Affected packages
PackageAffectedFixed
libheif
openSUSE:Leap 15.5
before 1.12.0-150400.3.11.1
1.12.0-150400.3.11.1
libheif
Ubuntu: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
libheif
Ubuntu: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
libheif
Ubuntu:Pro:18.04:LTS
before 1.1.0-2ubuntu0.1~esm1, plus listed versions
1.1.0-2
1.1.0-2ubuntu0.1~esm1
libheif
openSUSE:Tumbleweed
before 1.19.5-2.1
1.19.5-2.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 20 moreShow less
MoveEnter Open