CVE-2023-35964
High · 7.8CVSS
7.8
EPSS
1.5%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
Opening a specially made data file with an older analysis tool can let an attacker run any commands they want on a computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability allows arbitrary OS command execution through crafted input processed during decompression in the vcd2lxt utility.
Why it matters to the business
An attacker can achieve full system compromise on affected developer or engineering workstations if a malicious waveform file is opened, leading to data theft, persistence, or lateral movement; the issue has been public for over 1000 days with public exploits available, increasing long-term risk in environments using legacy waveform tools.
How an attack unfolds
An attacker creates a specially crafted wave file that abuses the decompression logic in vcd2lxt; the victim opens the file with the utility, triggering command injection and allowing the attacker to execute arbitrary commands on the local system.
How to fix it
Replace or isolate the vcd2lxt utility, avoid opening untrusted waveform files with GTKWave tools, and monitor vendor releases for patched versions of the affected package.
How to confirm the fix worked
Confirm the installed gtkwave package version and test that vcd2lxt rejects or safely handles known-malicious test files; review process execution logs for unexpected command invocations during file handling.
Typical attack path
- Craft malicious wave file exploiting decompression command injection
- Deliver file via email, download link, or shared storage
- Victim opens file using vcd2lxt utility
- Decompression routine executes attacker-controlled commands
- Attacker gains code execution and establishes foothold
How to detect it
Review process creation logs and command-line audit trails for invocations of vcd2lxt that reference unusual file paths or arguments; correlate with file downloads or email attachments shortly before execution.
- vcd2lxt
- command injection via decompression
- crafted .vcd or .lxt files
What your security team should do
- Immediately restrict use of vcd2lxt to trusted files only
- Add file-type sandboxing or containerization for waveform analysis workflows
- Hunt for historical executions of vcd2lxt on developer endpoints
- Track upstream GTKWave releases for security updates
The record
Multiple OS command injection vulnerabilities exist in the decompression functionality of GTKWave 3.3.115. A specially crafted wave file can lead to arbitrary command execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns decompression in the `vcd2lxt` utility.
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