CVE-2023-35128
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
A specially made file can let an attacker take over a computer when someone opens it in a popular waveform viewing program.
- 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 in fstReaderIterBlocks2 time_table tsec_nitems processing allows a crafted .fst file to corrupt memory during parsing.
Why it matters to the business
Users who open malicious waveform files risk full system compromise, enabling data theft, ransomware deployment, or persistent attacker access with no available patches listed.
How an attack unfolds
An attacker creates a malicious .fst file that triggers the integer overflow, then delivers it to a victim who opens it with GTKWave; the resulting memory corruption can be leveraged for arbitrary code execution.
How to fix it
No fixed versions are published; replace or isolate the affected GTKWave installation and prohibit opening untrusted .fst files.
How to confirm the fix worked
Confirm GTKWave version is not 3.3.115 or earlier; test file handling behavior with known-good versus crafted .fst samples in a sandbox.
Typical attack path
- Craft .fst file containing oversized tsec_nitems values
- Deliver the file via email, download, or shared storage
- Victim opens the file in GTKWave
- Integer overflow occurs during block iteration leading to memory corruption and potential code execution
How to detect it
Review system logs and process behavior for GTKWave crashes or anomalous memory allocations immediately after .fst file access; inspect recent file-open events for suspicious .fst sources.
What your security team should do
- Immediately restrict or disable GTKWave usage on untrusted files
- Block .fst file extensions at email and web gateways
- Monitor for new upstream releases and apply fixes when published
- Educate users about risks of opening waveform files from unknown sources
The record
An integer overflow vulnerability exists in the fstReaderIterBlocks2 time_table tsec_nitems functionality of GTKWave 3.3.115. A specially crafted .fst file can lead to memory corruption. 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