Skip to content
Fencer Vulns
high 8.1

CVE-2024-41311 json

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

published 2024-10-15 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-39003

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 55%
public exploits
0
none known

Summary

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.

Patch / fix

  • libheif Debian 12 1.15.1-1+deb12u1
  • libheif Debian 14, Debian 13 1.18.1-1

debian advisories DEBIAN-CVE-2024-41311

  • libheif Ubuntu 24.04 LTS 1.17.6-1ubuntu4.1

ubuntu advisories UBUNTU-CVE-2024-41311

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libheif SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, SLE Module for Desktop Applications 15 SP6 +3 more 1.12.0-150400.3.14.1

suse advisories SUSE-SU-2024:3960-1

  • libheif openSUSE Tumbleweed 1.19.5-2.1

opensuse advisories openSUSE-SU-2024:14579-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-41311 updated

libheif: OOB read and write via ImageOverlay::parse()

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/strukturag/libheif/issues/1226 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected products

  • struktur libheif

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.