Skip to main content

apitrace EUVDEUVD-2026-121408

| CVE-2026-126050 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-11-10 VulnCheck GHSA-j4j9-82qf-ghhc
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted .trace file to developer
  2. Delivery
    Victim opens/replays trace in apitrace
  3. Exploit
    Oversized chunk length read by flushReadCache
  4. Execution
    Heap overflow past m_compressedCache
  5. Impact
    Memory 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

apitrace 2.0 ≤14.0

Affected Packages

euvd apitrace no fix

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

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche graphics/OpenGL-D3D developer debugging tool, no broad enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy