CVE-2023-35702
Description
Multiple stack-based buffer overflow vulnerabilities exist in the FST LEB128 varint functionality of GTKWave 3.3.115. A specially crafted .fst file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the fstReaderVarint32 function.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stack-based buffer overflow in GTKWave 3.3.115 via a crafted .fst file allows arbitrary code execution when the victim opens the file.
Vulnerability
A stack-based buffer overflow vulnerability exists in the fstReaderVarint32 function of GTKWave 3.3.115, specifically within the FST LEB128 varint decoding functionality used when parsing .fst trace files. A specially crafted .fst file can trigger an overflow on the stack, corrupting adjacent memory. The vulnerability is reachable when a victim opens a malicious file via the GUI or command-line tools. The confirmed vulnerable version is GTKWave 3.3.115 [1].
Exploitation
An attacker must craft a malicious .fst file containing specially crafted LEB128 varint data that causes the fstReaderVarint32 function to write beyond the bounds of a fixed-size stack buffer. No authentication or special privileges are required; the victim needs only to open the file (e.g., double-clicking on an attachment received by email or using gtkwave on the command line). GTKWave sets up mime types for supported extensions, making user interaction minimal [1].
Impact
Successful exploitation leads to arbitrary code execution in the context of the user running GTKWave. The CVSSv3 score is 7.8 (High), with impacts to confidentiality, integrity, and availability all rated as high. An attacker could achieve full system compromise under the user's privileges [1].
Mitigation
As of the advisory date, no patch or updated version has been released by the vendor. Users should avoid opening untrusted .fst files from unknown or untrusted sources. The vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog as of the publication date. A future update from GTKWave is expected but not yet available [1].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- GTKWave/GTKWavev5Range: 3.3.115
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
0No linked articles in our index yet.