Skip to main content
Exploitation reportedNot in CISA KEV yetFix available

CVE-2026-32882

Exploitation reported by one source. First attested on 2026-09-18 by GCVE · previdian.

  • Published2026-05-19
  • WeaknessCWE-125

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap buffer over-read in HeifPixelImage::overlay() in libheif/pixelimage.cc. When compositing an overlay image (iovl) whose child image has a different bit depth for the alpha channel than for the color channels, the function indexes into the alpha plane using the color channel stride (in_stride) instead of the previously retrieved alpha_stride, causing reads past the end of the alpha buffer (up to 3,123 bytes for a 100×50 image with 10-bit color and 8-bit alpha). A crafted HEIF file can exploit this to cause a denial of service (crash) or potentially disclose adjacent heap memory through leaked bytes embedded in the decoded output pixels. This issue has been fixed in versionThis issue has been fixed in version 1.22.0.

Timeline

dates in UTC
  1. 2026-05-1921:16CVE publishedNVD
  2. 2026-09-1820:28Listed as exploited by GCVEGCVE
  3. 2026-09-1820:28Exploitation first reportedGCVE

Versions per branch

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • strukturag libheif
    Affected
    • = < 1.22.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-05-19

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libheifUbuntu:Pro:22.04:LTSall versions · fixed in 1.12.0-2ubuntu0.1~esm3
  • libheifUbuntu:Pro:20.04:LTSall versions · fixed in 1.6.1-1ubuntu0.1~esm3
  • libheifUbuntu:Pro:18.04:LTSall versions · fixed in 1.1.0-2ubuntu0.1~esm3
  • libheifUbuntu:26.04:LTSall versions · fixed in 1.21.2-3ubuntu0.1
  • libheifUbuntu:25.10all versions · fixed in 1.20.2-1ubuntu0.4
  • libheifUbuntu:24.04:LTSall versions · fixed in 1.17.6-1ubuntu4.4
  • libheifSUSE:Linux Enterprise Server for SAP applications 16.0all versions · fixed in 1.23.0-160000.1.1
  • libheifSUSE:Linux Enterprise Server 16.0all versions · fixed in 1.23.0-160000.1.1

27 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-32882 Red Hat Product Security

    libheif: libheif: Denial of Service and Information Disclosure vulnerability

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • GCVEexploitation2026-09-18
  • CISA-ADPSSVC decisionpoc2026-05-20
  • CNACVSS 3.17.1known since 2026-10-23
  • CNAweakness (CWE)CWE-125known since 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-11-08
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
Published
2026-05-19
Last Modified
2026-07-24
NVD status
Deferred

Frequently asked questions

What is CVE-2026-32882?

libheif is a HEIF and AVIF file format decoder and encoder. Versions 1.21.2 and prior contain a heap buffer over-read in HeifPixelImage::overlay() in libheif/pixelimage.cc. When compositing an overlay image (iovl) whose child image has a different bit depth for the alpha channel than for the color channels, the function indexes into the alpha plane using the color channel stride (in_stride) instead of the previously retrieved alpha_stride, causing reads past the end of the alpha buffer (up to 3,123 bytes for a 100×50 image with 10-bit color and 8-bit alpha). A crafted HEIF file can exploit this to cause a denial of service (crash) or potentially disclose adjacent heap memory through leaked bytes embedded in the decoded output pixels. This issue has been fixed in versionThis issue has been fixed in version 1.22.0.

Is CVE-2026-32882 actively exploited?

A proof-of-concept exploit exists for CVE-2026-32882, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-32882?

CVE-2026-32882 has a CVSS v3 base score of 7.1 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H.

Running libheif? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record