LiveActive security incident?Get immediate response
CVE Record

CVE-2026-32882: libheif: Heap Buffer OOB Read in overlay compositing due to wrong alpha stride

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.

HighCVSS 7.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

libheif before 1.22.0 can read past a memory buffer when handling a specially crafted HEIF overlay image. A victim must process the file. The main business risk is service crash in image-processing workflows, with a possible limited leak of nearby heap memory through decoded pixels.

Executive priority

Treat as high priority for internet-facing or customer-file-processing systems. Patch through normal urgent maintenance, especially where image decoding affects availability or handles sensitive workloads.

Technical view

HeifPixelImage::overlay() uses the color-channel stride instead of alpha_stride when compositing an iovl child with different alpha and color bit depths. This causes a heap out-of-bounds read. Sources describe denial of service and possible adjacent heap disclosure. Fixed in libheif 1.22.0.

Likely exposure

Exposure is most likely where libheif 1.21.2 or earlier decodes untrusted HEIF or AVIF files, including upload pipelines, media processing services, and applications bundling the library.

Exploitation context

The CVSS vector requires user interaction and no privileges. The source bundle does not show CISA KEV listing or active exploitation evidence. Abuse requires a crafted HEIF file that reaches a vulnerable decoder.

Researcher notes

The strongest evidence is the upstream advisory: CWE-125, CVSS 7.1, affected versions below 1.22.0, and the specific alpha stride bug. The bundle does not provide public exploit confirmation.

Mitigation direction

  • Upgrade libheif to version 1.22.0 or a vendor-patched package.
  • Prioritize systems that process user-supplied HEIF or AVIF files.
  • Check Red Hat and other vendor advisories for package-specific status.
  • Temporarily limit untrusted HEIF/AVIF processing where patching is delayed.
  • Run image-processing components with isolation and least privilege.

Validation and detection

  • Inventory libheif versions in hosts, containers, and bundled applications.
  • Confirm vulnerable assets are upgraded beyond 1.21.2 or vendor-patched.
  • Map public upload, attachment, and media-conversion paths using libheif.
  • Review crash telemetry around HEIF or AVIF processing.
  • Verify downstream packages link against the patched library.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-32882 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.1 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.1CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H2.84.2GitHub_M
7.1CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H2.84.2redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

7.1High
CVSS 3.1 vector shape for CVE-2026-32882Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPlibheif: libheif: Denial of Service and Information Disclosure vulnerability
other:Red Hat severity ratingcvssV3_1
  • 2026-05-19T21:01:34.128Z: Reported to Red Hat.
  • 2026-05-19T20:07:21.464Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
strukturaglibheif< 1.22.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.