{"id":"CVE-2026-49295","summary":"libde265 has an out-of-bounds write in process_reference_picture_set via predicted short-term RPS","details":"libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.20, a crafted H.265 bitstream can cause an out-of-bounds array write in `decoder_context::process_reference_picture_set()` (`libde265/decctx.cc:1376`). The root cause is a missing aggregate bound check on predicted short-term reference picture set entries. Individual list sizes are validated, but the combined count after predicted RPS construction can exceed the 16-entry `PocStFoll` array, writing at index 16. Version 1.0.20 patches the issue.","aliases":["GHSA-g2rg-wj66-w594"],"modified":"2026-07-08T08:05:20.843175509Z","published":"2026-06-19T20:09:22.555Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"1.0.20"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49295.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49295.json"},{"type":"ADVISORY","url":"https://github.com/strukturag/libde265/security/advisories/GHSA-g2rg-wj66-w594"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49295"},{"type":"FIX","url":"https://github.com/strukturag/libde265/commit/691f3a3c55b3d32478c4a49895dee061a282652b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strukturag/libde265","events":[{"introduced":"0"},{"fixed":"691f3a3c55b3d32478c4a49895dee061a282652b"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.0.19","v1.0.18","v1.0.17","v1.0.16","v1.0.15","v1.0.14","v1.0.13","v1.0.12","v1.0.11","v1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.0","v0.5","v0.4","v0.3","v0.2","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49295.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"}]}