CVE-2026-33165

Source
https://cve.org/CVERecord?id=CVE-2026-33165
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33165.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-33165
Aliases
  • GHSA-653q-9f73-8hvg
Downstream
Published
2026-03-20T20:32:36.603Z
Modified
2026-04-12T20:14:09.469734Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
heap out-of-bounds write in libde265 1.0.16
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 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.

Database specific
{
    "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"
    ]
}
References

Affected packages

Git / github.com/strukturag/libde265

Affected ranges

Type
GIT
Repo
https://github.com/strukturag/libde265
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/strukturag/libde265
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.1
v0.2
v0.3
v0.4
v0.5
v1.*
v1.0.0
v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.0.15
v1.0.16
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.0.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33165.json"
vanir_signatures
[
    {
        "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"
        }
    }
]
vanir_signatures_modified
"2026-04-12T20:14:09Z"