Skip to content
Fencer Vulns
high 7.5

CVE-2024-25269 json

libheif <= 1.17.6 contains a memory leak in the function JpegEncoder::Encode.

published 2024-03-05 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-22605

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

Summary

libheif <= 1.17.6 contains a memory leak in the function JpegEncoder::Encode. This flaw allows an attacker to cause a denial of service attack.

Patch / fix

  • libheif Debian 14, Debian 13 1.17.6-2

debian advisories DEBIAN-CVE-2024-25269

  • libheif Ubuntu 24.04 LTS 1.17.6-1ubuntu4.2
  • libheif Ubuntu Pro 20.04 LTS 1.6.1-1ubuntu0.1~esm2
  • libheif Ubuntu Pro 22.04 LTS 1.12.0-2ubuntu0.1~esm2

ubuntu advisories UBUNTU-CVE-2024-25269

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

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-25269 updated

libheif: memory leak

  • 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
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

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

Exploits and checks

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

CVSS scores

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

Affected products

  • libheif libheif

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

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.