PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-32738 strukturag CVE debrief

CVE-2026-32738 is a denial-of-service issue in libheif. A crafted HEIF sequence file can be parsed without error, but later trigger a crash when sample data is accessed. The supplied record says the issue was published on 2026-05-19 and fixed in libheif 1.22.0.

Vendor
strukturag
Product
libheif
CVSS
MEDIUM 6.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-19
Original CVE updated
2026-05-20
Advisory published
2026-05-19
Advisory updated
2026-05-20

Who should care

Teams that use libheif to process untrusted HEIF or AVIF files should pay attention, especially image upload services, media converters, viewers, and backend pipelines that may open attacker-supplied content.

Technical summary

According to the supplied description, a crafted 792-byte HEIF sequence file sets samples_per_chunk=0 in the stsc box. That leads to an unsigned integer underflow in the Chunk constructor, producing m_last_sample = UINT32_MAX and mapping samples to an empty chunk. When a sample is accessed, libheif reads index 0 from an empty std::vector and crashes with a guaranteed SEGV/null-page read. NVD lists the issue as affecting libheif versions before 1.22.0 and assigns CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Defensive priority

Medium, with higher urgency for internet-facing or user-uploaded media workflows. The impact is availability-only, but the crash is reliable once triggered and the input is remotely deliverable via a crafted file.

Recommended defensive actions

  • Upgrade libheif to version 1.22.0 or later.
  • Inventory applications and services that depend on libheif, including transitive dependencies.
  • Treat untrusted HEIF/AVIF inputs as high risk and isolate media parsing in a constrained process or sandbox.
  • Verify that deployments fail closed on parse or decoding errors rather than continuing to frame access.
  • Monitor for repeated crashes in services that handle image uploads or thumbnail generation.

Evidence notes

This debrief is based only on the supplied CVE record, NVD metadata, and the linked GitHub Security Advisory. The source material states the vulnerability is fixed in 1.22.0, that the CVSS vector is AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H, and that no CISA KEV entry was provided in the supplied corpus.

Official resources

The supplied record shows the CVE was published on 2026-05-19T19:16:48.823Z and modified on 2026-05-20T14:17:41.080Z. No KEV date was provided in the supplied data.