# CVE-2024-41311: In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing an overlay image with forged offsets can le…

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-15T00:00:00.000Z
- Modified: 2026-06-17T07:47:33.890Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- struktur libheif: 1.17.6
- debian debian_linux: 11.0

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/strukturag/libheif/issues/1226> (exploit, issue-tracking)
- <https://github.com/strukturag/libheif/pull/1227> (issue-tracking, patch)
- <https://github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36> (patch)
- <https://gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00025.html> (mailing-list)

## Sources

- CVE List: [CVE-2024-41311](https://www.cve.org/CVERecord?id=CVE-2024-41311), CVE Terms of Use, modified 2024-10-23
- NVD: [CVE-2024-41311](https://nvd.nist.gov/vuln/detail/CVE-2024-41311), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41311 · Whole record: https://cve.day/CVE-2024-41311.json · Rebuilt by cve.day 2026-11-25T22:58:46.803Z
