Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted .trace file to developer
-
DeliveryVictim opens/replays trace in apitrace
-
ExploitOversized chunk length read by flushReadCache
-
ExecutionHeap overflow past m_compressedCache
-
ImpactMemory corruption and potential code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker to supply a crafted apitrace .trace file whose 4-byte compressed chunk length field exceeds the fixed m_compressedCache buffer size, AND requires the victim to process that file by dumping, inspecting, or replaying it with a vulnerable apitrace build (2.0 through 14.0). The CVSS vector reflects this: AV:L means the malicious file must reach the local system, and UI:P means user interaction (opening/replaying the trace) is necessary - there is no remote, network-triggered path and no automated trigger. PR:N means no authentication is needed once the file is processed. The practical limiting factor is that the affected population is primarily developers who open untrusted .trace captures; default use on trusted, self-generated traces is not at risk. The only complete fix is updating to the patched version containing the chunk-length bounds check. |
| Impact | This is a genuine but conditional risk rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) confirms a LOCAL attack vector with low complexity and no privileges required, but it depends on passive user interaction (UI:P): a victim must open, dump, inspect, or replay an attacker-supplied .trace file. There is no remote network exposure. All three impact metrics are High (VC:H/VI:H/VA:H), consistent with a CWE-122 heap-based buffer overflow in SnappyFile::flushReadCache() that can corrupt heap memory and potentially lead to code execution in the context of the user running apitrace. Decision signals are moderate, not maximal: the vuln.today priority label is 'this_week' (not act_now/emergency), the CVE is NOT in CISA KEV, and no EPSS score was supplied. No weaponized exploit is referenced - the VulnCheck entry and the GitHub source links are advisories/source references, not verified working exploit code. The key tension is that the high 8.5 score is driven by severe technical impact, while the real-world trigger requires social-engineering a developer into processing a malicious trace file, which bounds practical exploitation to targeted scenarios against graphics/driver developers rather than opportunistic mass attacks. |
| Exploit ScenarioDerived | An attacker crafts a malicious .trace file in which the 4-byte compressed chunk length field exceeds the fixed m_compressedCache buffer size, then delivers it to a graphics developer (e.g., as a bug-report reproduction or a shared capture). When the victim opens the file to dump, inspect, or replay it with apitrace, flushReadCache() writes past the heap buffer, corrupting memory and potentially leading to code execution as that user. No public, verified exploit code is identified at time of analysis, though a VulnCheck advisory documents the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Heap-based buffer overflow in apitrace 2.0 through 14.0 allows a crafted .trace file to write past the fixed m_compressedCache buffer in SnappyFile::flushReadCache() when the embedded 4-byte compressed chunk length exceeds the expected size. An attacker who convinces a user to dump, inspect, or replay a malicious trace with a vulnerable build corrupts heap memory, which the CVSS 8.5 (v4.0) score and the assessed CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R, C/I/A:H) treat as high-impact code-integrity and availability risk, though the file must reach the local system and the user must actively open it. No public exploit or PoC is identified in the available intelligence and there is no CISA KEV listing, so this is a conditional risk concentrated on developers who process untrusted trace captures rather than a mass-exploitation emergency; an upstream fix commit exists.
RemediationAI
Upstream fix available (commit); released patched version not independently confirmed. The vendor-supplied correction is commit 3890c5a448addfd75ccbe1bd09e3075de6fb3395 (https://github.com/apitrace/apitrace/commit/3890c5a448addfd75ccbe1bd09e3075de6fb3395), which bounds the 4-byte compressed chunk length against snappy::MaxCompressedLength(SNAPPY_CHUNK_SIZE) and aborts the read with failbit and createCache(0) instead of overflowing the heap buffer; rebuild or upgrade apitrace 2.0-14.0 to a build that contains this check, and confirm the guard is present before trusting trace files from external sources. The independent assessment notes that updating to the patched version is the only complete fix, so until a system is on a patched build, treat untrusted .trace files as the exposure control: avoid dumping, inspecting or replaying captures supplied by third parties on unpatched installs, and restrict such processing to machines where a heap-corruption crash or code execution is acceptable, accepting that this limits collaboration on externally submitted traces.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
apitrace is a toolchain for capturing, dumping, inspecting and replaying OpenGL/Vulkan API traces, and its trace container supports Snappy compression through the SnappyFile wrapper in lib/trace/trace_file_snappy.cpp. Each compressed chunk on disk is prefixed with a 4-byte length field; flushReadCache() reads that field and uses it to drive decompression into m_compressedCache, which is sized around the fixed SNAPPY_CHUNK_SIZE chunk. The flaw is CWE-122 (heap-based buffer overflow): the length value is trusted without being bounded against the maximum plausible compressed size, so an oversized value causes writes past the end of the heap allocation. The upstream fix commit 3890c5a448addfd75ccbe1bd09e3075de6fb3395 adds a guard rejecting any compressedLength greater than snappy::MaxCompressedLength(SNAPPY_CHUNK_SIZE), prints 'error: invalid compressed chunk length in trace', sets failbit on the stream and calls createCache(0) to fail safely. The trigger requires the victim to load an attacker-supplied .trace file into a vulnerable apitrace build; there is no network-reachable path, and no authentication is required once the file is processed (PR:N in the assessed vector), but user interaction is necessary (UI:R in the assessed vector, UI:P in the CVSS 4.0 vector).
Know when Apitrace gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local file-parsing flaw triggered only when a user opens a malicious trace, so AV:L and UI:R; no privileges needed (PR:N) and heap corruption yields potential code execution, giving C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
A heap-based buffer overflow vulnerability in apitrace versions 2.0 through 14.0 could allow an attacker to corrupt memory and potentially achieve code execution when a user opens a malicious trace file. This poses a high risk to development teams who inspect or replay untrusted trace captures, potentially compromising code integrity and availability. Leadership should prioritize patching affected systems and enforcing safe handling of external files.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
EUVD-2026-121408
GHSA-j4j9-82qf-ghhc
NVD
CVE.org
EPSS
Exploit-DB