Skip to main content
VulnerabilityPublished Updated

CVE-2024-41311: libheif · Out-of-bounds Read

Affects libheifSource CVE Database V5

0

Not known to be exploited · CVSS 8.1 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubstrukturag/libheifpkg:github/strukturag/libheifOther threatsAffected
  • =1.17.6
Fixed in–

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

AI-suggested

  1. Update Libheif to the latest patched version as soon as it becomes available from the maintainers to address the vulnerability directly.
  2. Implement strict input validation and sanitization for all HEIF images processed, rejecting files with suspicious or malformed overlay data.
  3. Employ sandboxing or containerization techniques to isolate image processing components, limiting the impact of potential exploitation.
  4. Restrict or monitor user-uploaded or externally sourced HEIF files, especially in web applications and email clients, to prevent malicious content from reaching vulnerable decoders.
  5. Use application whitelisting and endpoint protection solutions to detect and block anomalous behavior resulting from exploitation attempts.
  6. Educate users about the risks of opening untrusted image files and encourage cautious handling of attachments and downloads.
  7. Monitor security advisories and threat intelligence feeds for updates on exploit availability and adjust defenses accordingly.

Description

In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing an overlay image with forged offsets can lead to an out-of-bounds read and write.

References

Community reviews

Loading reviews…