CVE-2023-0996 json
There is a vulnerability in the strided image data parsing code in the emscripten wrapper for libheif.
published 2023-02-24 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-12980
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
There is a vulnerability in the strided image data parsing code in the emscripten wrapper for libheif. An attacker could exploit this through a crafted image file to cause a buffer overflow in linear memory during a memcpy call.
Patch / fix
- libheif Debian 14, Debian 13, Debian 12 1.15.1-1
debian advisories DEBIAN-CVE-2023-0996
- 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-0996
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 Desktop Applications 15 SP4, openSUSE Leap 15.4 1.12.0-150400.3.8.1
suse advisories SUSE-SU-2023:1766-1
- libheif openSUSE Tumbleweed 1.19.5-2.1
opensuse advisories openSUSE-SU-2024:14579-1
- github.com/strukturag/libheif#759 pull request
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-0996 updated
libheif: new security issues
-
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
- total
- Assessed
- 19 mo ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected products
- Struktur libheif
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
References
-
github.com
/strukturag/libheif/pull/759
patch, vendor-advisory
-
govtech-csg.github.io
/security-advisories/2023/02/24/CVE-2023-0996.html
third-party-advisory
Sources
- CVE List CVE-2023-0996
- NVD CVE-2023-0996
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.