CVE-2024-25269: libheif <= 1.17.6 contains a memory leak in the function JpegEncoder::Encode
Affects libheifSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 1.6.1-1ubuntu0.1~esm2 : patch libheif soon.
Data as of 24 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 1.6.1-1ubuntu0.1~esm2, 1.12.0-2ubuntu0.1~esm2, 1.17.6-1ubuntu4.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu libheif to 1.6.1-1ubuntu0.1~esm2 (package) or 1.12.0-2ubuntu0.1~esm2 (package) or 1.17.6-1ubuntu4.2 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSlibheifpkg:deb/ubuntu/libheif?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.