{"id":"UBUNTU-CVE-2026-45382","details":"libde265 is an open source implementation of the h.265 video codec. Prior to version 1.0.19, `decoder_context::decode_slice_unit_tiles` (libde265/decctx.cc:920) reads `pps.CtbAddrRStoTS[ctbAddrRS]` at line 966 where `ctbAddrRS = ctbY * ctbsWidth + ctbX` is computed from PPS-supplied `colBd[]`/`rowBd[]` arrays without validating the result against `CtbAddrRStoTS.size() == sps-\u003ePicSizeInCtbsY`. A malformed PPS that passes `set_derived_values` but encodes geometry inconsistent with the SPS produces a `ctbAddrRS` past the allocation, causing a 4-byte heap-buffer-overflow READ. Version 1.0.19 fixes the issue.","modified":"2026-07-29T10:15:40.054381909Z","published":"2026-07-01T00:00:00Z","related":["USN-8573-1"],"upstream":["CVE-2026-45382"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-45382"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-45382"},{"type":"REPORT","url":"https://github.com/strukturag/libde265/security/advisories/GHSA-hwhx-x2mq-ccr9"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8573-1"}],"affected":[{"package":{"name":"libde265","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libde265?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-2ubuntu0.16.04.1~esm6"}]}],"versions":["1.0.2-1build1","1.0.2-2","1.0.2-2ubuntu0.16.04.1~esm1","1.0.2-2ubuntu0.16.04.1~esm2","1.0.2-2ubuntu0.16.04.1~esm3","1.0.2-2ubuntu0.16.04.1~esm4","1.0.2-2ubuntu0.16.04.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.2-2ubuntu0.16.04.1~esm6","binary_name":"libde265-0"},{"binary_name":"libde265-examples","binary_version":"1.0.2-2ubuntu0.16.04.1~esm6"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45382.json"}},{"package":{"name":"libde265","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libde265?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-2ubuntu0.18.04.1~esm6"}]}],"versions":["1.0.2-2build1","1.0.2-2ubuntu0.18.04.1~esm1","1.0.2-2ubuntu0.18.04.1~esm2","1.0.2-2ubuntu0.18.04.1~esm3","1.0.2-2ubuntu0.18.04.1~esm4","1.0.2-2ubuntu0.18.04.1~esm5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libde265-0","binary_version":"1.0.2-2ubuntu0.18.04.1~esm6"},{"binary_version":"1.0.2-2ubuntu0.18.04.1~esm6","binary_name":"libde265-examples"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45382.json"}},{"package":{"name":"libde265","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libde265?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.4-1ubuntu0.4+esm2"}]}],"versions":["1.0.3-1build1","1.0.4-1","1.0.4-1build1","1.0.4-1ubuntu0.1","1.0.4-1ubuntu0.2","1.0.4-1ubuntu0.3","1.0.4-1ubuntu0.4","1.0.4-1ubuntu0.4+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libde265-0","binary_version":"1.0.4-1ubuntu0.4+esm2"},{"binary_name":"libde265-examples","binary_version":"1.0.4-1ubuntu0.4+esm2"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45382.json"}},{"package":{"name":"libde265","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libde265?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8-1ubuntu0.3+esm2"}]}],"versions":["1.0.8-1","1.0.8-1ubuntu0.1","1.0.8-1ubuntu0.2","1.0.8-1ubuntu0.3","1.0.8-1ubuntu0.3+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libde265-0","binary_version":"1.0.8-1ubuntu0.3+esm2"},{"binary_version":"1.0.8-1ubuntu0.3+esm2","binary_name":"libde265-examples"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45382.json"}},{"package":{"name":"libde265","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libde265?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.15-1ubuntu0.1"}]}],"versions":["1.0.12-2","1.0.13-1","1.0.15-1","1.0.15-1build1","1.0.15-1build2","1.0.15-1build3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.15-1ubuntu0.1","binary_name":"libde265-0"},{"binary_name":"libde265-examples","binary_version":"1.0.15-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45382.json"}},{"package":{"name":"libde265","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libde265?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.15-1build5","1.0.16-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libde265-0","binary_version":"1.0.16-1"},{"binary_name":"libde265-examples","binary_version":"1.0.16-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45382.json"}},{"package":{"name":"libde265","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/libde265?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.16-1ubuntu0.1~esm1"}]}],"versions":["1.0.16-1","1.0.16-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libde265-0","binary_version":"1.0.16-1ubuntu0.1~esm1"},{"binary_name":"libde265-examples","binary_version":"1.0.16-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45382.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}