apitrace 2.0 through 14.0 contains a heap-based buffer overflow in SnappyFile::flushReadCache() that allows attackers to write past m_compressedCache via an oversized compressed chunk length. Attackers can supply a crafted .trace file whose 4-byte chunk length exceeds the fixed buffer size, corrupting heap memory when users dump, inspect, or replay it.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-122"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126050.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "2.0"
},
{
"last_affected": "14.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "3890c5a448addfd75ccbe1bd09e3075de6fb3395"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126050.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "28547841857165329045049986667578560172",
"length": 891
},
"id": "CVE-2026-126050-7a1893b3",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/apitrace/apitrace/commit/3890c5a448addfd75ccbe1bd09e3075de6fb3395",
"target": {
"file": "lib/trace/trace_file_snappy.cpp",
"function": "SnappyFile::flushReadCache"
}
}
]
"2026-11-12T07:07:26Z"