CVE Explorer
CVE-2026-32738
libheif is a HEIF and AVIF file format decoder and encoder. In versions 1.21.2 and below, a crafted 792-byte HEIF sequence file with samples_per_chunk=0 in the stsc box causes an unsigned integer underflow in the Chunk constructor (m_last_sample = 0 + 0 - 1 = UINT32_MAX), mapping all samples to an empty chunk and resulting in a denial of service. When any sample is accessed, the library reads from index 0 of an empty std::vector, causing a guaranteed SEGV (null-page read). The file parses succes
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-476","description":"CWE-476: NULL Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"libheif","vendor":"strukturag","versions":[{"status":"affected","version":"< 1.22.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-476","description":"CWE-476: NULL Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-7f2h-cmpf-v9ww"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/adp/0/references/0
{"name":"https://github.com/strukturag/libheif/security/advisories/GHSA-7f2h-cmpf-v9ww","tags":["x_refsource_CONFIRM"],"url":"https://github.com/strukturag/libheif/security/advisories/GHSA-7f2h-cmpf-v9ww"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:70ea08f6a9526ef459118edb14c97b481700a9aeb1106b2045b2c1867bcb6a4c · sha256:6bf32ac3e22f4925… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.