apitrace 2.0 through 14.0 Heap Buffer Overflow via SnappyFile::flushReadCache()
- State
- Published
- Severity
- 8.5 High
- Published
- Nov 10, 2026
- Updated
- Nov 10, 2026
- Reserved
- Nov 10, 2026
Description
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.
| Product | Versions |
|---|---|
| apitrace apitrace | 2.0 through 14.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.5 High | VulnCheck | |
| 3.1 | 7.8 High | VulnCheck |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
References
- https://github.com/apitrace/apitrace/commit/3890c5a448addfd75ccbe1bd09e3075de6fb3395Patch
- https://github.com/apitrace/apitrace/blob/18cfd388ac47a9e00978b34d6c20341f3e2cdb56/lib/trace/trace_file_snappy.cpp#L215-L235Technical Details
- VulnCheck Advisory: apitrace 2.0 through 14.0 Heap Buffer Overflow via SnappyFile::flushReadCache()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.