libde265 is an open source implementation of the h.265 video codec. Prior to version 1.1.0, a crafted H.265 bitstream with large SPS dimensions and 16-bit bit depth causes a signed integer overflow in de265_image_get_buffer() (libde265/image.cc:128). The overflow wraps the plane allocation size to a small value (~1 KB), but the subsequent fill_image() call computes the real size using size_t, writing ~4 GB into the undersized heap buffer. Version 1.1.0 patches the issue.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49346.json",
"cwe_ids": [
"CWE-190"
]
}{
"cpe": "cpe:2.3:a:struktur:libde265:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.1.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-22T00:05:47Z"
[
{
"target": {
"function": "de265_alloc_image_plane",
"file": "libde265/image.cc"
},
"id": "CVE-2026-49346-181472e3",
"digest": {
"function_hash": "147176829153161336648682223151634823940",
"length": 677.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/strukturag/libde265/commit/8a1b5cf212f78e1c77cb46eb5d56e492a9336eb8"
},
{
"target": {
"function": "de265_image_get_buffer",
"file": "libde265/image.cc"
},
"id": "CVE-2026-49346-6d561673",
"digest": {
"function_hash": "220896103505704885453970870779977515427",
"length": 1581.0
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"source": "https://github.com/strukturag/libde265/commit/8a1b5cf212f78e1c77cb46eb5d56e492a9336eb8"
},
{
"target": {
"file": "libde265/image.cc"
},
"id": "CVE-2026-49346-d50716d3",
"digest": {
"line_hashes": [
"40419494937393674600294107144927266072",
"156922661229603807886362443071351210804",
"53503243586850819582866350272843652762",
"105849735730209843405452299646372436586",
"158579856250421710788452350270053597028",
"243112116629678069343442656435259157306",
"294921012078188619465331146337799045125",
"139334386095805604088308753228045074448",
"180357919016290568130507640005188000509",
"301556938540835024047261927703593202767",
"323580550810438177819009151310801803875",
"64328521247580353150500489569973783054",
"163275754284412294267553892602476623757",
"164694675671664028336554888511015544110",
"217251924201609092691121625159051031235",
"327970011921408291146651594903797011742",
"245197746329202587358259280937636139543",
"60778642710236278279347018951182445199",
"98027627046479612848427176905018154381",
"148097323458834907932890877352048530562",
"127049026898825232322328712116143549969",
"177487694103956539831751194884368909507",
"337461779018106887904005291466090703883",
"83696827308546504434313158755080953390",
"259577027533737059637700871489159236989",
"224358653257448369354798708894963474510",
"26005099948866771816010327762246081459",
"166067409949975448517827824503160891504",
"86852089727427477278448765554073481495",
"302451293703990359034678349436840464347",
"46103688717465483198793551169325083650",
"178483228682233669256174747459907360462",
"237026597237789952175212522401952620260",
"157641268384319132093917912546086177873",
"125239476170766842250291007635806972169"
],
"threshold": 0.9
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"source": "https://github.com/strukturag/libde265/commit/8a1b5cf212f78e1c77cb46eb5d56e492a9336eb8"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49346.json"