CVE-2026-45382 libde265 has a heap-buffer-overflow READ in decode_slice_unit_tiles via unvalidated PPS tile geometry
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.19, decoder_context::decode_slice_unit_tiles (libde265/decctx.cc:920) reads pps.CtbAddrRStoTS[ctbAddrRS] at line 966 where ctbAddrRS = ctbY * ctbsWidth + ctbX is computed from PPS-supplied colBd[]/rowBd[] arrays without validating the result against CtbAddrRStoTS.size() == sps->PicSizeInCtbsY. A malformed PPS that passes set_derived_values but encodes geometry inconsistent with the SPS produces a ctbAddrRS past the allocation, causing a 4-byte heap-buffer-overflow READ. Version 1.0.19 fixes the issue.
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/libde265(Alpine v3.24) | < 1.1.3-r0 | 1.1.3-r0 | Fixed |
| debian/libde265(Debian 12) | < 1.0.11-1+deb12u3; = 1.0.11-1; = 1.0.11-1+deb12u1; = 1.0.11-1+deb12u2 | 1.0.11-1+deb12u3 | Fixed |
| debian/libde265(Debian 13) | < 1.0.15-1+deb13u1; = 1.0.15-1 | 1.0.15-1+deb13u1 | Fixed |
| debian/libde265(Debian 14) | < 1.1.1-1; = 1.0.15-1; = 1.0.16-1; = 1.0.18-1 | 1.1.1-1 | Fixed |
| ubuntu/libde265(Ubuntu 22.04) | < 1.0.8-1ubuntu0.3+esm2 | 1.0.8-1ubuntu0.3+esm2 | Fixed |
| ubuntu/libde265(Ubuntu 24.04) | < 1.0.15-1ubuntu0.1 | 1.0.15-1ubuntu0.1 | Fixed |
| ubuntu/libde265(Ubuntu 26.04) | < 1.0.16-1ubuntu0.1~esm1 | 1.0.16-1ubuntu0.1~esm1 | Fixed |
| strukturag libde265 | = < 1.0.19 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| strukturag libde265 | = < 1.0.19 | No fix listed |
| debian/libde265(Debian:12) | < 1.0.11-1+deb12u3 | 1.0.11-1+deb12u3 |
| debian/libde265(Debian:12) | = 1.0.11-1 | No fix listed |
| debian/libde265(Debian:12) | = 1.0.11-1+deb12u1 | No fix listed |
| debian/libde265(Debian:12) | = 1.0.11-1+deb12u2 | No fix listed |
| debian/libde265(Debian:13) | < 1.0.15-1+deb13u1 | 1.0.15-1+deb13u1 |
| debian/libde265(Debian:13) | = 1.0.15-1 | No fix listed |
| debian/libde265(Debian:14) | < 1.1.1-1 | 1.1.1-1 |
| debian/libde265(Debian:14) | = 1.0.15-1 | No fix listed |
| debian/libde265(Debian:14) | = 1.0.16-1 | No fix listed |
| debian/libde265(Debian:14) | = 1.0.18-1 | No fix listed |
| ubuntu/libde265(Ubuntu:22.04) | < 1.0.8-1ubuntu0.3+esm2 | 1.0.8-1ubuntu0.3+esm2 |
| alpine/libde265(Alpine:v3.24) | < 1.1.3-r0 | 1.1.3-r0 |
| ubuntu/libde265(Ubuntu:24.04) | < 1.0.15-1ubuntu0.1 | 1.0.15-1ubuntu0.1 |
| ubuntu/libde265(Ubuntu:26.04) | < 1.0.16-1ubuntu0.1~esm1 | 1.0.16-1ubuntu0.1~esm1 |
References
- https://github.com/strukturag/libde265/security/advisories/GHSA-hwhx-x2mq-ccr9 exploit
- Debian Security Tracker CVE-2026-45382 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8573-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory