CVE-2026-33165
heap out-of-bounds write in libde265 1.0.16
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.5
heap out-of-bounds write in libde265 1.0.16
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.
- Record
CVE-2026-33165- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2026-13812
5.5
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.
- Record
EUVD-2026-13812- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2026-33165- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2026-33165
5.0
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.
- Record
ALPINE-CVE-2026-33165- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.5
heap out-of-bounds write in libde265 1.0.16
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.
- Record
CVE-2026-33165- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-33165
5.0
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.
- Record
DEBIAN-CVE-2026-33165- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVJLSEC-2026-159
5.0
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.
- Record
JLSEC-2026-159- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2026-33165
5.0
CVE-2026-33165 in libde265 - Patched by Root
Root has patched CVE-2026-33165 in the libde265 package for Root:Debian:12. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-12-CVE-2026-33165- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVROOT-OS-DEBIAN-13-CVE-2026-33165
5.0
CVE-2026-33165 in libde265 - Patched by Root
Root has patched CVE-2026-33165 in the libde265 package for Root:Debian:13. Multiple fixed versions available.
- Record
ROOT-OS-DEBIAN-13-CVE-2026-33165- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-33165
5.5
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.
- Record
UBUNTU-CVE-2026-33165- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2026-0420 No score
Updated libde265 package fixes security vulnerabilities
Heap Buffer Overflow vulnerability in Libde265 v1.0.15 allows attackers
to crash the application via crafted payload to display444as420 function
at sdl.cc. (CVE-2024-38949)
Heap Buffer Overflow vulnerability in Libde265 v1.0.15 allows attackers
to crash the application via crafted payload to __interceptor_memcpy
function. (CVE-2024-38950)
strukturag libde265 commit d9fea9d wa discovered to contain a
segmentation fault via the component
decoder_context::compute_framedrop_table(). (CVE-2025-61147)
NULL Pointer Dereference in libde265. (CVE-2026-33164)
Heap out-of-bounds write in libde265 1.0.16. (CVE-2026-33165)
libde265 has a heap-buffer-overflow READ in decode_slice_unit_tiles via
unvalidated PPS tile geometry. (CVE-2026-45382)
libde265 has a heap buffer overflow (OOB read) in
decode_slice_unit_WPP() via out-of-bounds CtbAddrRStoTS access —
libde265 <= v1.0.18. (CVE-2026-45383)
libde265 has an out-of-bounds write in process_reference_picture_set via
predicted short-term RPS. (CVE-2026-49295)
libde265 has an unbounded memory leak via orphaned slice headers in
read_slice_NAL. (CVE-2026-49337)
libde265 has a heap buffer overflow in de265_image_get_buffer via SPS
dimension integer overflow. (CVE-2026-49346)
Pixel accessor signed integer overflow causes heap OOB read/write.
(CVE-2026-54240)
SAO sequential filter heap buffer overflow via signed integer overflow.
(CVE-2026-54241)
- Record
MGASA-2026-0420- Updated
- 2026-11-02
OSVUSN-8573-1 No score
libde265 vulnerabilities
It was discovered that libde265 did not properly manage memory under certain circumstances. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2023-51792)
It was discovered that libde265 did not properly handle certain malformed media files, leading to a heap buffer overflow. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service. (CVE-2024-38949, CVE-2024-38950)
It was discovered that libde265 did not properly handle certain malformed input, leading to a segmentation fault. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service. (CVE-2025-61147)
It was discovered that libde265 did not properly handle a malformed H.265 PPS NAL unit, leading to a segmentation fault. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service. (CVE-2026-33164)
It was discovered that libde265 did not properly handle certain crafted HEVC bitstreams, leading to an out-of-bounds write. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service. (CVE-2026-33165)
Valentin Mercier discovered that libde265 did not properly validate tile geometry when handling crafted media files, leading to an out-of-bounds read. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service, or to obtain sensitive information. (CVE-2026-45382)
It was discovered that libde265 did not properly validate certain values when decoding crafted media files, leading to an out-of-bounds read. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service, or to obtain sensitive information. (CVE-2026-45383)
Ying Dong discovered that libde265 did not properly validate reference picture set entries when handling a crafted H.265 bitstream, leading to an out-of-bounds write. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-49295)
Ying Dong discovered that libde265 did not properly manage memory when handling a crafted sequence of H.265 NAL units, leading to excessive memory consumption. An attacker could possibly use this issue to cause libde265 to use excessive resources, leading to a denial of service. (CVE-2026-49337)
Ying Dong discovered that libde265 did not properly handle certain crafted H.265 bitstreams with large dimensions, leading to a heap buffer overflow. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-49346)
It was discovered that libde265 did not properly handle certain crafted HEVC bitstreams with large dimensions, leading to an out-of-bounds read and write. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-54240)
It was discovered that libde265 did not properly handle certain crafted HEVC bitstreams with large dimensions, leading to a heap buffer overflow. An attacker could possibly use this issue to cause libde265 to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2026-54241)
- Record
USN-8573-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libde265Alpine:v3.24 |
before 1.0.18-r0 | 1.0.18-r0 |
libde265Debian:12 |
before 1.0.11-1+deb12u3, plus listed versions 1.0.11-11.0.11-1+deb12u11.0.11-1+deb12u2 |
1.0.11-1+deb12u3 |
libde265Debian:13 |
before 1.0.15-1+deb13u2, plus listed versions 1.0.15-11.0.15-1+deb13u1 |
1.0.15-1+deb13u2 |
libde265Debian:14 |
before 1.0.18-1, plus listed versions 1.0.15-11.0.16-1 |
1.0.18-1 |
libde265_jllJulia |
before 1.0.18000+0 | 1.0.18000+0 |
libde265Mageia:10 From an advisory covering 12 CVEs |
before 1.0.16-4.1.mga10 | 1.0.16-4.1.mga10 |
libde265Mageia:10 From an advisory covering 12 CVEs |
before 1.0.16-4.1.mga10.tainted | 1.0.16-4.1.mga10.tainted |
libde265Ubuntu:Pro:16.04:LTS |
before 1.0.2-2ubuntu0.16.04.1~esm6, plus listed versions 1.0.2-1build11.0.2-21.0.2-2ubuntu0.16.04.1~esm11.0.2-2ubuntu0.16.04.1~esm21.0.2-2ubuntu0.16.04.1~esm31.0.2-2ubuntu0.16.04.1~esm41.0.2-2ubuntu0.16.04.1~esm5 |
1.0.2-2ubuntu0.16.04.1~esm6 |
libde265Ubuntu:Pro:18.04:LTS |
before 1.0.2-2ubuntu0.18.04.1~esm6, plus listed versions 1.0.2-2build11.0.2-2ubuntu0.18.04.1~esm11.0.2-2ubuntu0.18.04.1~esm21.0.2-2ubuntu0.18.04.1~esm31.0.2-2ubuntu0.18.04.1~esm41.0.2-2ubuntu0.18.04.1~esm5 |
1.0.2-2ubuntu0.18.04.1~esm6 |
libde265Ubuntu:Pro:20.04:LTS |
before 1.0.4-1ubuntu0.4+esm2, plus listed versions 1.0.3-1build11.0.4-11.0.4-1build11.0.4-1ubuntu0.11.0.4-1ubuntu0.21.0.4-1ubuntu0.31.0.4-1ubuntu0.41.0.4-1ubuntu0.4+esm1 |
1.0.4-1ubuntu0.4+esm2 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libde265Ubuntu:Pro:22.04:LTS |
before 1.0.8-1ubuntu0.3+esm2, plus listed versions 1.0.8-11.0.8-1ubuntu0.11.0.8-1ubuntu0.21.0.8-1ubuntu0.31.0.8-1ubuntu0.3+esm1 |
1.0.8-1ubuntu0.3+esm2 |
libde265Ubuntu:24.04:LTS |
before 1.0.15-1ubuntu0.1, plus listed versions 1.0.12-21.0.13-11.0.15-11.0.15-1build11.0.15-1build21.0.15-1build3 |
1.0.15-1ubuntu0.1 |
libde265Ubuntu:25.10 |
All versions, plus listed versions 1.0.15-1build51.0.16-1 |
None known |
libde265Ubuntu:Pro:26.04:LTS |
before 1.0.16-1ubuntu0.1~esm1, plus listed versions 1.0.16-11.0.16-1build1 |
1.0.16-1ubuntu0.1~esm1 |
libde265Ubuntu:Pro:16.04:LTS From an advisory covering 12 CVEs |
before 1.0.2-2ubuntu0.16.04.1~esm6, plus listed versions 1.0.2-1build11.0.2-21.0.2-2ubuntu0.16.04.1~esm11.0.2-2ubuntu0.16.04.1~esm21.0.2-2ubuntu0.16.04.1~esm31.0.2-2ubuntu0.16.04.1~esm41.0.2-2ubuntu0.16.04.1~esm5 |
1.0.2-2ubuntu0.16.04.1~esm6 |
libde265Ubuntu:Pro:18.04:LTS From an advisory covering 12 CVEs |
before 1.0.2-2ubuntu0.18.04.1~esm6, plus listed versions 1.0.2-2build11.0.2-2ubuntu0.18.04.1~esm11.0.2-2ubuntu0.18.04.1~esm21.0.2-2ubuntu0.18.04.1~esm31.0.2-2ubuntu0.18.04.1~esm41.0.2-2ubuntu0.18.04.1~esm5 |
1.0.2-2ubuntu0.18.04.1~esm6 |
libde265Ubuntu:Pro:20.04:LTS From an advisory covering 12 CVEs |
before 1.0.4-1ubuntu0.4+esm2, plus listed versions 1.0.3-1build11.0.4-11.0.4-1build11.0.4-1ubuntu0.11.0.4-1ubuntu0.21.0.4-1ubuntu0.31.0.4-1ubuntu0.41.0.4-1ubuntu0.4+esm1 |
1.0.4-1ubuntu0.4+esm2 |
libde265Ubuntu:Pro:22.04:LTS From an advisory covering 12 CVEs |
before 1.0.8-1ubuntu0.3+esm2, plus listed versions 1.0.8-11.0.8-1ubuntu0.11.0.8-1ubuntu0.21.0.8-1ubuntu0.31.0.8-1ubuntu0.3+esm1 |
1.0.8-1ubuntu0.3+esm2 |
libde265Ubuntu:24.04:LTS From an advisory covering 12 CVEs |
before 1.0.15-1ubuntu0.1, plus listed versions 1.0.12-21.0.13-11.0.15-11.0.15-1build11.0.15-1build21.0.15-1build3 |
1.0.15-1ubuntu0.1 |
libde265Ubuntu:Pro:26.04:LTS From an advisory covering 12 CVEs |
before 1.0.16-1ubuntu0.1~esm1, plus listed versions 1.0.16-11.0.16-1build1 |
1.0.16-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| affected, aliases, published, references | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-33165 is a medium vulnerability (CVSS 5.5) in Struktur Libde265, published March 20, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.25%, the 15th percentile. Fixed in libde265 1.0.18-r0.
References
github.com/strukturag/libde265/security/advisories/GHSA-653q-9f73-8hvg
github.com/strukturag/libde265/commit/c7891e412106130b83f8e8ea8b7f907e9449b658
github.com/strukturag/libde265/releases/tag/v1.0.17
security.alpinelinux.org/vuln/CVE-2026-33165
github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33165.json
nvd.nist.gov/vuln/detail/CVE-2026-33165
Show 29 moreShow less
security-tracker.debian.org/tracker/CVE-2026-33165
advisories.mageia.org/MGASA-2026-0420.html
bugs.mageia.org/show_bug.cgi?id=35987
ubuntu.com/security/notices/USN-8573-1
github.com/strukturag/libde265/issues/460
github.com/strukturag/libde265/issues/484
github.com/strukturag/libde265/security/advisories/GHSA-wqrf-6rf5-v78r
github.com/strukturag/libde265/security/advisories/GHSA-hwhx-x2mq-ccr9
github.com/strukturag/libde265/security/advisories/GHSA-wg9q-ppqw-6q38
github.com/strukturag/libde265/security/advisories/GHSA-g2rg-wj66-w594
github.com/strukturag/libde265/security/advisories/GHSA-g5hj-rf9f-7vxm
github.com/strukturag/libde265/security/advisories/GHSA-vv8h-932h-7r86
github.com/strukturag/libde265/security/advisories/GHSA-ccfw-29x7-rrx3
github.com/strukturag/libde265/security/advisories/GHSA-j2qq-x2xq-g9wr
lists.debian.org/debian-security-announce/2026/msg00324.html
lists.debian.org/debian-security-announce/2026/msg00397.html
ubuntu.com/security/CVE-2026-33165
cve.org/CVERecord?id=CVE-2026-33165
ubuntu.com/security/CVE-2024-38949
ubuntu.com/security/CVE-2024-38950
ubuntu.com/security/CVE-2025-61147
ubuntu.com/security/CVE-2026-33164
ubuntu.com/security/CVE-2026-45382
ubuntu.com/security/CVE-2026-45383
ubuntu.com/security/CVE-2026-49295
ubuntu.com/security/CVE-2026-49337
ubuntu.com/security/CVE-2026-49346
ubuntu.com/security/CVE-2026-54240
ubuntu.com/security/CVE-2026-54241