Vulnerability · Published Oct 15, 2024 · Assigned by mitre
CVE-2024-41311
High 8.1
In plain English
A high-severity out-of-bounds read in the libheif package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.8%top 44.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libheif | 1.15.1-1+deb12u1 | DEBIAN-CVE-2024-41311 |
| Debian:12 | libheif | 1.15.1-1+deb12u1 | DSA-5796-1 |
| Debian:13 | libheif | 1.18.1-1 | DEBIAN-CVE-2024-41311 |
| Debian:14 | libheif | 1.18.1-1 | DEBIAN-CVE-2024-41311 |
| Ubuntu:24.04:LTS | libheif | 1.17.6-1ubuntu4.1 | USN-7082-1 |
| Ubuntu:24.04:LTS | libheif | 1.17.6-1ubuntu4.1 | UBUNTU-CVE-2024-41311 |
Affected products (as reported)
Weakness: CWE-125, CWE-787 · Vector: 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
- https://github.com/strukturag/libheif/pull/1227
- https://github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36
- https://gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0
- https://lists.debian.org/debian-lts-announce/2024/10/msg00025.html