All advisories

Security advisoryCVE-2026-126050

apitrace 2.0 through 14.0 Heap Buffer Overflow via SnappyFile::flushReadCache()

Published:

Severity
High8.5
Vulnerability type
Heap-based Buffer Overflow (CWE-122)
Credit
Discovered by Deus Rex Research
Published

CVSS 4.0 vector8.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

CVSS 3.1 vector7.8 High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Affected versions

apitrace>= 2.0, <= 14.0

Remediation

View the upstream fix (opens in a new tab)

References

Advisories may be reused freely, without charge or registration.

To report a vulnerability in Deus Rex, contact disclosure@cyrex.tech.