CVE-2023-37418
Description
Multiple out-of-bounds write vulnerabilities exist in the VCD parse_valuechange portdump functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the out-of-bounds write when triggered via the vcd2vzt conversion utility.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Multiple out-of-bounds write flaws in GTKWave 3.3.115's VCD parsing allow arbitrary code execution when a victim opens a malicious .vcd file.
Vulnerability
GTKWave 3.3.115 contains multiple out-of-bounds write vulnerabilities in the VCD parse_valuechange portdump functionality, triggered when parsing a crafted .vcd file. The issue exists in the vcd_parse function used by conversion utilities such as vcd2lxt, vcd2lxt2, and vcd2vzt, but not in vcd_recorder.c. The vulnerability can be reached via the graphical interface or the vcd2vzt command-line tool. Affected version: GTKWave 3.3.115 [1].
Exploitation
An attacker must craft a malicious .vcd file and convince a victim to open it using GTKWave or its conversion tools. No special privileges or network access are required beyond local file interaction. The exploit involves the VCD parsing loop (vcd_parse) misinterpreting malformed tokens, leading to an out-of-bounds write when parse_valuechange handles portdump data. Opening the file in the GUI or using the vcd2vzt utility triggers the vulnerability [1].
Impact
Successful exploitation yields arbitrary code execution with the privileges of the victim. This can result in full compromise of confidentiality, integrity, and availability (CVSS 7.8, High). The attacker gains the ability to execute arbitrary code, potentially escalate privileges, or install malware [1].
Mitigation
As of the advisory date (2024-01-08), no official patch or fixed version has been released. Users should avoid opening untrusted .vcd files with GTKWave 3.3.115 or its conversion utilities. Monitor the vendor's website (https://gtkwave.sourceforge.net) for updates. The vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog at the time of publication [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.