Home / strukturag / libheif / CVE-2026-62291
CVE-2026-62291: is it exploited, and which versions of strukturag libheif are affected and fixed?
CVE-2026-62291 is an out-of-bounds read vulnerability in strukturag libheif. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: libheif < 1.23.1 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-62291?
libheif: Heap out of bounds write in libheif uncompressed encoder when writing images with mismatched auxiliary alpha dimensions
libheif is a HEIF and AVIF file format decoder and encoder. In 1.23.0 and earlier, a crafted image sequence with a 2x2 primary plane and a 256x256 auxiliary alpha plane can cause attacker-controlled heap corruption during a normal decode and re-encode workflow. Track_Visual::decode_next_image_sample() calls transfer_channel_from_image_as() without checking that the auxiliary alpha dimensions match the main frame. The resulting inconsistent image reaches heif_track_decode_next_image() and then heif_context_encode_image(). In unc_encoder::encode(), unc_encoder_component_interleave::encode_tile() sizes its buffer with compute_tile_data_size_bytes() using the primary dimensions but copies each component using its actual plane dimensions. The oversized alpha plane is therefore copied beyond the allocation, causing an out-of-bounds write; the inverse size mismatch can also produce an out-of-bounds read. This issue is fixed in version 1.23.1.
From the CVE record by GitHub_M, last updated August 21, 2026, 19:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| strukturag | libheif | < 1.23.1 |
As the CVE record by GitHub_M states it, last updated August 21, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-62291?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-62291 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, August 21, 2026)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/strukturag/libheif/security/advisories/GHSA-xpw3-9rhw-482x x_refsource_CONFIRM
- https://github.com/strukturag/libheif/commit/ac5521ad50399885de96bb6a0733a5d2442740f9 x_refsource_MISC
- https://github.com/strukturag/libheif/releases/tag/v1.23.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 13, 2026
- Published
- August 18, 2026, 21:21 UTC
- CVE record updated
- August 21, 2026, 19:11 UTC by GitHub_M
- NVD
- Deferred, last modified October 22, 2026, 16:09 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect libheif?
- Dec 2, 2026CVE-2026-142493 strukturag libheif: out-of-bounds read
- Dec 2, 2026CVE-2026-142494 strukturag libheif: memory leak
- Dec 2, 2026CVE-2026-142495 strukturag libheif: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-142496 strukturag libheif: uncontrolled recursion
- Dec 2, 2026CVE-2026-142497 strukturag libheif: deadlock
- Dec 2, 2026CVE-2026-142498 strukturag libheif: out-of-bounds read
- Dec 2, 2026CVE-2026-142499 strukturag libheif: NULL pointer dereference (crash)
- Dec 2, 2026CVE-2026-142500 strukturag libheif: denial of service (resources allocated without limits)
Questions about CVE-2026-62291
Is CVE-2026-62291 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of strukturag libheif are affected by CVE-2026-62291?
libheif < 1.23.1, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-62291?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-62291?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-62291?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.