Every CVE Search/ Get API key

CVE-2026-33165

heap out-of-bounds write in libde265 1.0.16

5.5 MediumFix available

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

0.25%Up 0.2 points since Mar 21, 2026
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1
5.0 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1
5.0 MediumCVSS: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

Affected packages
PackageAffectedFixed
libde265
Alpine:v3.24
before 1.0.18-r0
1.0.18-r0
libde265
Debian: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
libde265
Debian:13
before 1.0.15-1+deb13u2, plus listed versions
1.0.15-11.0.15-1+deb13u1
1.0.15-1+deb13u2
libde265
Debian:14
before 1.0.18-1, plus listed versions
1.0.15-11.0.16-1
1.0.18-1
libde265_jll
Julia
before 1.0.18000+0
1.0.18000+0
libde265
Mageia:10
From an advisory covering 12 CVEs
before 1.0.16-4.1.mga10
1.0.16-4.1.mga10
libde265
Mageia:10
From an advisory covering 12 CVEs
before 1.0.16-4.1.mga10.tainted
1.0.16-4.1.mga10.tainted
libde265
Ubuntu: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
libde265
Ubuntu: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
libde265
Ubuntu: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
Affected packages
PackageAffectedFixed
libde265
Ubuntu: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
libde265
Ubuntu: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
libde265
Ubuntu:25.10
All versions, plus listed versions
1.0.15-1build51.0.16-1
None known
libde265
Ubuntu: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
libde265
Ubuntu: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
libde265
Ubuntu: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
libde265
Ubuntu: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
libde265
Ubuntu: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
libde265
Ubuntu: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
libde265
Ubuntu: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

History
RecordedChangedSources
affected, facts
affected
affected, aliases, published, referencesEUVD
first indexedCVE 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

Show 29 moreShow less
MoveEnter Open