CVE-2024-41311
In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing...
CVE-2024-41311 is a high vulnerability (CVSS 8.1) in Struktur Libheif, published October 15, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.77%, the 55th percentile. Fixed in libheif 1.15.1-1+deb12u1.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
8.1
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.
- Record
CVE-2024-41311- 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 - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
CVE List
8.1
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.
- Record
CVE-2024-41311- 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 - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2024-39003
8.1
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.
- Record
EUVD-2024-39003- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mwf7-wfvq-vc32
8.1
In Libheif 1.17.6, insufficient checks in ImageOverlay::parse() decoding a heif file containing...
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.
- Record
GHSA-mwf7-wfvq-vc32- 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 - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2024-41311- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-41311
8.1
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.
- Record
DEBIAN-CVE-2024-41311- 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 - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2024-41311
8.1
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.
- Record
UBUNTU-CVE-2024-41311- 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 - Updated
- 2026-11-02
OSVMGASA-2024-0352 No score
Updated libheif packages fix security vulnerability
In Libheif, insufficient checks in ImageOverlay::parse() while decoding a HEIF file containing an overlay image with forged offsets can lead to an out-of-bounds read and write. (CVE-2024-41311)
- Record
MGASA-2024-0352- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14579-1 No score
gdk-pixbuf-loader-libheif-1.19.5-2.1 on GA media
These are all security issues fixed in the gdk-pixbuf-loader-libheif-1.19.5-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14579-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3960-1 No score
Security update for libheif
This update for libheif fixes the following issues:
- CVE-2024-41311: Fixed out-of-bounds read and write in ImageOverlay:parse() due to decoding a heif file containing an overlay image with forged offsets (bsc#1231714).
- Record
SUSE-SU-2024:3960-1- Updated
- 2026-11-02
OSVUSN-7082-1 No score
libheif vulnerability
Gerrard Tai discovered that libheif did not properly validate certain images, leading to out-of-bounds read and write vulnerability. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or to obtain sensitive information.
- Record
USN-7082-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libheifDebian:12 |
before 1.15.1-1+deb12u1, plus listed versions 1.15.1-1 |
1.15.1-1+deb12u1 |
libheifDebian:13 |
before 1.18.1-1 | 1.18.1-1 |
libheifDebian:14 |
before 1.18.1-1 | 1.18.1-1 |
libheifDebian:11 |
before 1.11.0-1+deb11u1, plus listed versions 1.11.0-1 |
1.11.0-1+deb11u1 |
libheifMageia:9 |
before 1.16.2-1.2.mga9 | 1.16.2-1.2.mga9 |
libheifMageia:9 |
before 1.16.2-1.2.mga9.tainted | 1.16.2-1.2.mga9.tainted |
libheifSUSE:Linux Enterprise Module for Desktop Applications 15 SP5 |
before 1.12.0-150400.3.14.1 | 1.12.0-150400.3.14.1 |
libheifSUSE:Linux Enterprise Module for Desktop Applications 15 SP6 |
before 1.12.0-150400.3.14.1 | 1.12.0-150400.3.14.1 |
libheifSUSE:Linux Enterprise Module for Package Hub 15 SP5 |
before 1.12.0-150400.3.14.1 | 1.12.0-150400.3.14.1 |
libheifSUSE:Linux Enterprise Module for Package Hub 15 SP6 |
before 1.12.0-150400.3.14.1 | 1.12.0-150400.3.14.1 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libheifopenSUSE:Leap 15.5 |
before 1.12.0-150400.3.14.1 | 1.12.0-150400.3.14.1 |
libheifopenSUSE:Leap 15.6 |
before 1.12.0-150400.3.14.1 | 1.12.0-150400.3.14.1 |
libheifUbuntu:24.04:LTS |
before 1.17.6-1ubuntu4.1, plus listed versions 1.16.2-2ubuntu11.17.1-1ubuntu21.17.1-1ubuntu31.17.4-1ubuntu11.17.6-1ubuntu11.17.6-1ubuntu21.17.6-1ubuntu31.17.6-1ubuntu4 |
1.17.6-1ubuntu4.1 |
libheifopenSUSE:Tumbleweed |
before 1.19.5-2.1 | 1.19.5-2.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/strukturag/libheif/issues/1226
github.com/strukturag/libheif/pull/1227
github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36
gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0
lists.debian.org/debian-lts-announce/2024/10/msg00025.html
nvd.nist.gov/vuln/detail/CVE-2024-41311
Show 13 moreShow less
github.com/advisories/GHSA-mwf7-wfvq-vc32
github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41311.json
security-tracker.debian.org/tracker/CVE-2024-41311
advisories.mageia.org/MGASA-2024-0352.html
bugs.mageia.org/show_bug.cgi?id=33662
ubuntu.com/security/notices/USN-7082-1
suse.com/support/update/announcement/2024/suse-su-20243960-1
bugzilla.suse.com/1231714
suse.com/security/cve/CVE-2024-41311
ubuntu.com/security/CVE-2024-41311
cve.org/CVERecord?id=CVE-2024-41311
suse.com/security/cve/CVE-2023-0996
suse.com/security/cve/CVE-2023-29659