{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c7891e412106130b83f8e8ea8b7f907e9449b658"
            }
          ],
          "repo": "https://github.com/strukturag/libde265",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f3d916c8e63e510bda1f9cf5e8710259c22afece"
            }
          ],
          "repo": "https://github.com/strukturag/libde265",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-653q-9f73-8hvg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33165.json"
  },
  "details": "libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.17, a crafted HEVC bitstream causes an out-of-bounds heap write confirmed by AddressSanitizer. The trigger is a stale ctb_info.log2unitSize after an SPS change where PicWidthInCtbsY and PicHeightInCtbsY stay constant but Log2CtbSizeY changes, causing set_SliceHeaderIndex to index past the allocated image metadata array and write 2 bytes past the end of a heap allocation. This issue has been patched in version 1.0.17.",
  "id": "CVE-2026-33165",
  "modified": "2026-04-01T23:08:25.416328735Z",
  "published": "2026-03-20T20:32:36.603Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/strukturag/libde265/releases/tag/v1.0.17"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33165.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/strukturag/libde265/security/advisories/GHSA-653q-9f73-8hvg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33165"
    },
    {
      "type": "FIX",
      "url": "https://github.com/strukturag/libde265/commit/c7891e412106130b83f8e8ea8b7f907e9449b658"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "heap out-of-bounds write in libde265 1.0.16"
}