Skip to main content
VulnerabilityPublished

CVE-2026-3950: strukturag libheif · Out-of-bounds Read

Affects strukturag libheifSource CVE Database V5

0
Compare

Public exploit available · CVSS 4.8 Medium.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
strukturaglibheifAffected
  • =1.21.0
  • =1.21.1
  • =1.21.2
Fixed in–
GitHubstrukturag/libheifpkg:github/strukturag/libheifOther threatsAffected
  • =1.21.0
  • =1.21.1
  • =1.21.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2026-3950, organizations should prioritize applying an official patch from the strukturag libheif project once it becomes available, as the current unofficial patch is not approved and may not be reliable. Until an official fix is released, restrict local access to systems processing HEIF images with libheif, especially limiting untrusted or low-privilege user accounts. Employ sandboxing or containerization techniques to isolate applications using libheif, minimizing the impact of potential out-of-bounds reads. Regularly audit and monitor local user activity to detect suspicious behavior indicative of exploitation attempts. Developers should review and harden the parsing logic in libheif, incorporating bounds checking and input validation to prevent similar vulnerabilities. Additionally, consider using alternative image processing libraries that do not exhibit this vulnerability if immediate patching is not feasible. Maintain up-to-date backups and system integrity monitoring to quickly recover from any exploitation consequences. Finally, educate users about the risks of running untrusted code locally and enforce strict access controls on critical systems.

Description

A vulnerability was identified in strukturag libheif up to 1.21.2. This impacts the function Track::load of the file libheif/sequences/track.cc of the component stsz/stts. The manipulation leads to out-of-bounds read. The attack needs to be performed locally. The exploit is publicly available and might be used. Applying a patch is the recommended action to fix this issue. The patch available is inofficial and not approved yet.

References

Community reviews

Loading reviews…