CVE-2023-29659: libheif vulnerable to segmentation fault via floating point exception

Published May 5, 2023
·
Updated

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

7 affected componentsFixes available
go/github.com/strukturag/libheif<1.15.2
1.15.2
struktur Libheif=1.15.1
Fedoraproject Fedora=36
Fedoraproject Fedora=37
debian/libheif
1.11.0-1+deb11u21.15.1-1+deb12u11.16.2-1
ubuntu/libheif<1.6.1-1ubuntu0.1~esm1
1.6.1-1ubuntu0.1~esm1
ubuntu/libheif<1.12.0-2ubuntu0.1~esm1
1.12.0-2ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/strukturag/libheif to a version that resolves this vulnerability.

    Fixed in 1.15.2
  2. Upgrade

    Upgrade debian/libheif to a version that resolves this vulnerability.

    Fixed in 1.11.0-1+deb11u2Fixed in 1.15.1-1+deb12u1Fixed in 1.16.2-1
  3. Upgrade

    Upgrade ubuntu/libheif to a version that resolves this vulnerability.

    Fixed in 1.6.1-1ubuntu0.1~esm1
  4. Upgrade

    Upgrade ubuntu/libheif to a version that resolves this vulnerability.

    Fixed in 1.12.0-2ubuntu0.1~esm1

Event History

May 5, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
04:15 PM
Description
Data Sourced
via OSV·04:15 PM
DescriptionSeverityAffected Software
Advisory Published
06:30 PM
Data Sourced
via OSV·06:30 PM
Weakness
May 11, 2023
Data Sourced
10:59 PM
SeverityWeaknessAffected Software
Nov 7, 2023
Data Sourced
via NVD·04:11 AM
DescriptionSeverityWeaknessAffected Software
Updated
04:11 AM
Affected Software
Advisory Published
05:05 AM
Jan 29, 2025
Updated
via NVD·08:15 PM
SeverityWeaknessAffected Software
Data Sourced
via GitHub·10:00 PM
DescriptionSeverityWeaknessAffected Software
Jun 17, 2026
Updated
via NVD·05:50 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

What is the severity of CVE-2023-29659?

The severity of CVE-2023-29659 is medium with a CVSS score of 6.5.

3

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.

4

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.

5

What is the CWE ID for CVE-2023-29659?

The CWE ID for CVE-2023-29659 is CWE-369.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203