# CVE-2026-49295: libde265 has an out-of-bounds write in process_reference_picture_set via predicted short-term RPS

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T20:09:22.555Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- strukturag libde265: < 1.0.20
- struktur libde265: before 1.0.20

## References

- <https://github.com/strukturag/libde265/security/advisories/GHSA-g2rg-wj66-w594> (exploit, mitigation, vendor-advisory)
- <https://github.com/strukturag/libde265/commit/691f3a3c55b3d32478c4a49895dee061a282652b> (patch)

## Sources

- CVE List: [CVE-2026-49295](https://www.cve.org/CVERecord?id=CVE-2026-49295), CVE Terms of Use, modified 2026-06-22
- NVD: [CVE-2026-49295](https://nvd.nist.gov/vuln/detail/CVE-2026-49295), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-49295 · Whole record: https://cve.day/CVE-2026-49295.json · Rebuilt by cve.day 2026-11-25T22:59:25.292Z
