{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "691f3a3c55b3d32478c4a49895dee061a282652b"
            }
          ],
          "repo": "https://github.com/strukturag/libde265",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g2rg-wj66-w594"
  ],
  "database_specific": {
    "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",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "1.0.20"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-49295",
  "modified": "2026-07-08T05:37:41.416790132Z",
  "published": "2026-06-19T20:09:22.555Z",
  "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"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "libde265 has an out-of-bounds write in process_reference_picture_set via predicted short-term RPS"
}