| Name | CVE-2026-142495 |
| Description | libheif 1.19.0 before 1.23.4 contains an allocation of resources without limits vulnerability in Box_iinf::parse() and Box::read_children() that allows attackers to cause denial of service via crafted HEIF files. Attackers can declare a huge number of 'infe' items to trigger quadratic CPU time and gigabytes of heap usage, or overflow the WebAssembly stack in Emscripten builds. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6523-1 |
| Debian Bugs | 1148137 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libheif (PTS) | bookworm | 1.15.1-1+deb12u1 | fixed |
| bookworm (security) | 1.15.1-1+deb12u2 | fixed | |
| trixie (security), trixie | 1.23.6-2~deb13u1 | fixed | |
| forky, sid | 1.23.7-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libheif | source | bookworm | (not affected) | |||
| libheif | source | trixie | 1.23.4-1~deb13u1 | DSA-6523-1 | ||
| libheif | source | (unstable) | 1.23.4-1 | 1148137 |
[bookworm] - libheif <not-affected> (Vulnerable code introduced later)
https://github.com/strukturag/libheif/security/advisories/GHSA-vg7w-rp49-4fc2
Introduced by: https://github.com/strukturag/libheif/commit/18575c8be89f23c5c2d55ed646ce42f37d6924f5 (v1.19.0)
Fixed by: https://github.com/strukturag/libheif/commit/2ebb06f2b60f4542e193ae273988b728ba7c9083 (v1.23.4)
Fixed by: https://github.com/strukturag/libheif/commit/19fd108e6e8d82ad3e1853d945a809ad3fbd5669 (v1.23.4)