nday
CVE-2023-29659 GHSA-22fx-6r9m-r8h9

libheif vulnerable to segmentation fault via floating point exception

Patch on record 1,287 days after disclosure. Patched: fixed in github.com/strukturag/libheif 1.15.2. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (CVSS 3.1) from the ADP CISA-ADP
Go
GHSA-22fx-6r9m-r8h9: go packages github.com/strukturag/libheif
stage
PAT
disclosed
disclosure → patch
T+1287d
cvss
6.5 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2023-05-05T00:00Z
PATpatch
2026-11-12T23:03Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

+DISdisclosed

CVE record published by mitre. CVSS 6.5, medium.

src cvelist · nday , bulk import · raw
{
  "id": 67635,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2023-29659",
  "occurred_at": "2023-05-05T00:00:00Z",
  "observed_at": "2026-11-13T00:04:12.549297Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "version": "3.1",
      "base_score": 6.5,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2025-01-29T19:08:46.021039Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2023-05-05T00:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version github.com/strukturag/libheif 1.15.2. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-22fx-6r9m-r8h9 · nday , observed live · raw
{
  "id": 66670,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-22fx-6r9m-r8h9",
  "occurred_at": null,
  "observed_at": "2026-11-12T23:03:52.547886Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-22fx-6r9m-r8h9",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.5,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Divide By Zero",
        "cwe_id": "CWE-369"
      }
    ],
    "ghsa_id": "GHSA-22fx-6r9m-r8h9",
    "packages": [
      {
        "name": "github.com/strukturag/libheif",
        "ecosystem": "go",
        "first_patched_version": "1.15.2",
        "vulnerable_version_range": "< 1.15.2"
      }
    ],
    "severity": "medium",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2023-29659",
      "https://github.com/strukturag/libheif/issues/794",
      "https://github.com/strukturag/libheif/commit/e05e15b57a38ec411cb9acb38512a1c36ff62991",
      "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ",
      "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/CKAE6NQBA3Q7GS6VTNDZRZZZVPPEFUEZ",
      "https://lists.fedoraproject.org/archives/list/[email protected]/message/LGKHDCS4HRZE3UGXYYDYPTIPNIBRLQ5L",
      "https://github.com/advisories/GHSA-22fx-6r9m-r8h9"
    ],
    "fix_commit_urls": [
      "https://github.com/strukturag/libheif/commit/e05e15b57a38ec411cb9acb38512a1c36ff62991"
    ],
    "github_reviewed_at": "2023-06-02T21:18:04Z",
    "advisory_updated_at": "2026-11-12T22:41:31Z",
    "source_code_location": "https://github.com/strukturag/libheif",
    "advisory_published_at": "2023-05-05T18:30:17Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.