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 ctbinfo.log2unitSize after an SPS change where PicWidthInCtbsY and PicHeightInCtbsY stay constant but Log2CtbSizeY changes, causing setSliceHeaderIndex 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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33165.json",
"cwe_ids": [
"CWE-787"
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33165.json"
[
{
"digest": {
"length": 564.0,
"function_hash": "224189621832908547208584845959293867245"
},
"id": "CVE-2026-33165-388c898b",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/strukturag/libde265/commit/f3d916c8e63e510bda1f9cf5e8710259c22afece",
"target": {
"function": "VideoWidget::paintEvent",
"file": "sherlock265/VideoWidget.cc"
}
},
{
"digest": {
"length": 4831.0,
"function_hash": "195047020611183857418363623154680870808"
},
"id": "CVE-2026-33165-50c38bf6",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/strukturag/libde265/commit/c7891e412106130b83f8e8ea8b7f907e9449b658",
"target": {
"function": "de265_image::alloc_image",
"file": "libde265/image.cc"
}
},
{
"digest": {
"length": 364.0,
"function_hash": "327840637841273794815898644878905505991"
},
"id": "CVE-2026-33165-6ee60a4c",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/strukturag/libde265/commit/f3d916c8e63e510bda1f9cf5e8710259c22afece",
"target": {
"function": "VideoWidget::VideoWidget",
"file": "sherlock265/VideoWidget.cc"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"236828189941766798442377242372046442362",
"225445787122119077097501329935817878011",
"91354529657960417714522614430811168962",
"48516769875290610935738941394660969093"
]
},
"id": "CVE-2026-33165-73024c15",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/strukturag/libde265/commit/c7891e412106130b83f8e8ea8b7f907e9449b658",
"target": {
"file": "libde265/image.h"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"24195985884818460783815628466886685969",
"147038544006205557352957683921935214158",
"332270579816490930149395567689058003278",
"261987140283495801479336438506181096998",
"434014289267642594433253264005132899",
"168652729852070854314972564615697156958",
"118537600665570856582955531051773423212",
"331797459368371019932686990456084375128",
"130059418393864323628047821926512668",
"52533368177343838076000847856234591642",
"281675411347226717154703759322655818114",
"41100540083638509927396741802487875496",
"241996784243828715112683621079685224511",
"289735231494140392821617290262824326673",
"97950285867730060465213641024424361723",
"91325657800151498268561226358569129618",
"176049146906645793711834568023294815278",
"26560489141746959188457840323248191688",
"288193650944767960777594909763098798178"
]
},
"id": "CVE-2026-33165-99af71a4",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/strukturag/libde265/commit/f3d916c8e63e510bda1f9cf5e8710259c22afece",
"target": {
"file": "sherlock265/VideoWidget.cc"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"156570059363990044612634730938499588619",
"18700694985350976804673429355869064680",
"50316390665775045091248204107304896162",
"326227675731134023503142758311502438721"
]
},
"id": "CVE-2026-33165-afbb2704",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/strukturag/libde265/commit/f3d916c8e63e510bda1f9cf5e8710259c22afece",
"target": {
"file": "sherlock265/VideoDecoder.cc"
}
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"55107895575511270586946282014563420965",
"165701253944460469670462727591671503745",
"234470541237275200845216201204699525684",
"194684926476513426613514766238747828829",
"1626002732004932894331150908614568922"
]
},
"id": "CVE-2026-33165-cc1a07d8",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/strukturag/libde265/commit/c7891e412106130b83f8e8ea8b7f907e9449b658",
"target": {
"file": "libde265/image.cc"
}
},
{
"digest": {
"length": 812.0,
"function_hash": "257296791433569082839604763796126016482"
},
"id": "CVE-2026-33165-fe0b8708",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/strukturag/libde265/commit/f3d916c8e63e510bda1f9cf5e8710259c22afece",
"target": {
"function": "VideoDecoder::decoder_loop",
"file": "sherlock265/VideoDecoder.cc"
}
}
]
"2026-04-12T20:14:09Z"