CVE-2023-35996
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
Opening a specially crafted file in this waveform viewer program can let an attacker take complete control of the computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper array index validation in fstReaderIterBlocks2 tdelta handling when signal_lens is 0 allows out-of-bounds memory access from a crafted .fst file, resulting in arbitrary code execution.
Why it matters to the business
Users who open malicious waveform files can have their systems fully compromised, enabling data theft, ransomware deployment, or persistent attacker access with high operational disruption risk.
How an attack unfolds
An attacker creates a malicious .fst file that triggers the tdelta indexing flaw when signal_lens equals zero. The file is delivered to a victim who opens it in GTKWave 3.3.115, causing the vulnerability to execute attacker-controlled code on the local system.
How to fix it
No fixed versions are currently published; immediately upgrade to the latest GTKWave release when available. In the interim, restrict opening of .fst files from untrusted sources and run the application under least-privilege or sandboxed conditions.
How to confirm the fix worked
Confirm GTKWave version is newer than 3.3.115, attempt to open known-good and crafted test .fst files in an isolated environment, and verify that no crash or unexpected memory access occurs.
Typical attack path
- Craft .fst file exploiting tdelta array indexing flaw with signal_lens=0
- Deliver malicious file via email, web download, or shared storage
- Victim opens file in vulnerable GTKWave instance
- Out-of-bounds access leads to arbitrary code execution
How to detect it
Review file-access logs and process creation events for GTKWave opening .fst files from unusual locations or with anomalous sizes; correlate with subsequent suspicious child processes or memory anomalies.
What your security team should do
- Block or sandbox opening of .fst files from external sources until a patch is applied
- Monitor vendor announcements for an official fixed release
- Educate users on risks of opening untrusted waveform files
- Deploy application allow-listing or containerization for GTKWave
The record
Multiple improper array index validation vulnerabilities exist in the fstReaderIterBlocks2 tdelta 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 tdelta indexing when signal_lens is 0.
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