CVE-2023-36864
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
Opening a specially made waveform file in GTKWave can let an attacker take over the computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow during temp_signal_value_buf allocation in fstReaderIterBlocks2 allows out-of-bounds memory access leading to arbitrary code execution when parsing a crafted .fst waveform file.
Why it matters to the business
Compromise of analyst workstations that open untrusted waveform files can result in full system takeover, loss of sensitive design data, and potential lateral movement within engineering environments.
How an attack unfolds
An attacker crafts a malicious .fst file that triggers the integer overflow in the block reader; the victim opens the file in GTKWave, causing the overflowed allocation and subsequent memory corruption that yields arbitrary code execution.
How to fix it
Upgrade GTKWave to the latest available version that resolves the integer overflow; until a fix is released, avoid opening .fst files from untrusted sources and consider sandboxing or alternative waveform viewers.
How to confirm the fix worked
Confirm GTKWave version is updated past the vulnerable release; attempt to open known-good and boundary .fst files to verify allocation behavior remains stable.
Typical attack path
- Craft malicious .fst file exploiting integer overflow in fstReaderIterBlocks2
- Deliver file via email, download link, or shared storage
- Victim opens file in vulnerable GTKWave instance
- Overflow leads to memory corruption and attacker-controlled code execution
How to detect it
Review file-access logs and process-creation events for GTKWave opening .fst files from unusual locations; inspect crash dumps or memory-corruption artifacts around fstReaderIterBlocks2.
What your security team should do
- Block or quarantine untrusted .fst attachments at email and file-share gateways
- Inventory all GTKWave installations and prioritize upgrade once a patched build is published
- Configure application allow-listing or sandbox execution for waveform analysis tools
- Monitor for new GTKWave releases and EPSS score changes
The record
An integer overflow vulnerability exists in the fstReaderIterBlocks2 temp_signal_value_buf allocation 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 this vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | gtkwave | 0 | 3.3.98+really3.3.118-0+deb10u1 |
| Debian:11 | gtkwave | 0 | 3.3.104+really3.3.118-0+deb11u1 |
| Debian:12 | gtkwave | 0 | 3.3.118-0.1~deb12u1 |
| Debian:13 | gtkwave | 0 | 3.3.118-0.1 |
| Ubuntu:16.04:LTS | gtkwave | 0 | No fix |
| Ubuntu:18.04:LTS | gtkwave | 0 | No fix |
| Ubuntu:20.04:LTS | gtkwave | 0 | No fix |
| Ubuntu:22.04:LTS | gtkwave | 0 | No fix |
| Ubuntu:24.04:LTS | gtkwave | 0 | No fix |
| Ubuntu:24.10 | gtkwave | 0 | No fix |
| Ubuntu:25.04 | gtkwave | 0 | No fix |
| Ubuntu:25.10 | gtkwave | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | gtkwave | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | gtkwave | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | gtkwave | 0 | No fix |
Related vulnerabilities
- CVE-2023-39444 Multiple out-of-bounds write vulnerabilities exist in the LXT2 parsing functionality of… Also affects gtkwave
- CVE-2023-39317 Multiple integer overflow vulnerabilities exist in the LXT2 num_dict_entries… Also affects gtkwave
- CVE-2023-39414 Multiple integer underflow vulnerabilities exist in the LXT2 lxt2_rd_iter_radix shift… Also affects gtkwave
- CVE-2023-39413 Multiple integer underflow vulnerabilities exist in the LXT2 lxt2_rd_iter_radix shift… Also affects gtkwave
- CVE-2023-39443 Multiple out-of-bounds write vulnerabilities exist in the LXT2 parsing functionality of… Also affects gtkwave
- CVE-2023-39316 Multiple integer overflow vulnerabilities exist in the LXT2 num_dict_entries… Also affects gtkwave
- CVE-2023-39271 Multiple integer overflow vulnerabilities exist in the LXT2 facgeometry parsing… Also affects gtkwave
- CVE-2023-39273 Multiple integer overflow vulnerabilities exist in the LXT2 facgeometry parsing… Also affects gtkwave