8.1
HIGH
CVE-2024-41311
Libheif Out-of-Bounds Read/Write Vulnerability
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.

INFO

Published Date :

Oct. 15, 2024, 9:15 p.m.

Last Modified :

March 24, 2025, 2:41 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2024-41311 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-41311 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Struktur libheif
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-41311.

URL Resource
https://gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0 Third Party Advisory
https://github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36 Patch
https://github.com/strukturag/libheif/issues/1226 Exploit Issue Tracking
https://github.com/strukturag/libheif/pull/1227 Issue Tracking Patch
https://lists.debian.org/debian-lts-announce/2024/10/msg00025.html Mailing List

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Задание по DevSecOps второе задание

Updated: 4 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 5, 2024, 8:20 p.m. This repo has been linked 92 different CVEs too.

None

Python

Updated: 4 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 30, 2024, 7:19 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-41311 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-41311 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 24, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
    Added CWE CWE-125
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:struktur:libheif:1.17.6:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    Added Reference Type MITRE: https://gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0 Types: Third Party Advisory
    Added Reference Type MITRE: https://github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36 Types: Patch
    Added Reference Type MITRE: https://github.com/strukturag/libheif/issues/1226 Types: Exploit, Issue Tracking
    Added Reference Type MITRE: https://github.com/strukturag/libheif/pull/1227 Types: Issue Tracking, Patch
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/10/msg00025.html Types: Mailing List
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2024/10/msg00025.html
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-125
    Added CWE CISA-ADP CWE-787
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • CVE Received by [email protected]

    Oct. 15, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference MITRE https://github.com/strukturag/libheif/issues/1226 [No types assigned]
    Added Reference MITRE https://github.com/strukturag/libheif/pull/1227 [No types assigned]
    Added Reference MITRE https://github.com/strukturag/libheif/commit/a3ed1b1eb178c5d651d6ac619c8da3d71ac2be36 [No types assigned]
    Added Reference MITRE https://gist.github.com/flyyee/79f1b224069842ee320115cafa5c35c0 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-41311 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-41311 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability