Vulnerability · Published Jul 21, 2026 · Assigned by GitHub_M
CVE-2026-45382libde265 has a heap-buffer-overflow READ in decode_slice_unit_tiles via unvalidated PPS tile geometry
Medium 6.9
In plain English
A medium-severity out-of-bounds read in libde265 from strukturag. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | libde265 | 1.1.3-r0 | ALPINE-CVE-2026-45382 |
| Debian:12 | libde265 | 1.0.11-1+deb12u3 | DEBIAN-CVE-2026-45382 |
| Debian:13 | libde265 | 1.0.15-1+deb13u1 | DEBIAN-CVE-2026-45382 |
| Debian:14 | libde265 | 1.1.1-1 | DEBIAN-CVE-2026-45382 |
| Ubuntu:24.04:LTS | libde265 | 1.0.15-1ubuntu0.1 | USN-8573-1 |
| Ubuntu:24.04:LTS | libde265 | 1.0.15-1ubuntu0.1 | UBUNTU-CVE-2026-45382 |
| Ubuntu:25.10 | libde265 | no fix listed | UBUNTU-CVE-2026-45382 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| strukturag | libde265 | < 1.0.19 |
Weakness: CWE-125 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/strukturag/libde265/security/advisories/GHSA-hwhx-x2mq-ccr9 x_refsource_CONFIRM