BreachSpiderVerified, not vibes

CVE-2024-41311 in Debian Linux and 1 more product

High 8.1 Fix available

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.18.1
EPSS1.0%
EPSS percentile61th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Struktur Libheif 1.17.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-41311
BreachSpider IDBS-2024-GLOBAL-202607-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Published2024-10-15
Last modified2025-03-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-125: Out-of-Bounds Read

Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Related attack patterns (CAPEC)

CAPEC-540 Overread Buffers via CWE-125

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in Libheif 1.17.6 allows for an out-of-bounds read and write due to insufficient checks in the ImageOverlay::parse() function when decoding a HEIF file with a forged overlay image offset.

An attacker can craft a malicious HEIF file with a specially crafted overlay image offset, which, when processed by Libheif 1.17.6, can lead to an out-of-bounds read and write. This could potentially allow the attacker to execute arbitrary code or cause a denial of service.

Questions

What is CVE-2024-41311?

A vulnerability in Libheif 1.17.6 allows for an out-of-bounds read and write due to insufficient checks in the ImageOverlay::parse() function when decoding a HEIF file with a forged overlay image offset.

What is the CVSS score for CVE-2024-41311?

CVE-2024-41311 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N. EPSS: 1.0%.

Is CVE-2024-41311 actively exploited?

No confirmed active exploitation of CVE-2024-41311 as of 2026-05-30.

How do I remediate CVE-2024-41311?

Priority: HIGH.

What systems are affected by CVE-2024-41311?

CVE-2024-41311 affects Debian Debian Linux; Struktur Libheif.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-03-24.