CVE-2023-35961
High · 7.8CVSS
7.8
EPSS
1.5%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
A problem in certain file analysis software could let attackers run their own programs on a computer if someone opens a harmful file they received.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Application
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits arbitrary operating system command execution via unsanitized input during decompression in the vcd_recorder_main function when a specially crafted wave file is processed.
Why it matters to the business
Compromise of user workstations or analysis systems can occur when untrusted files are opened, enabling data exfiltration, persistence, or lateral movement with potential disruption to engineering workflows.
How an attack unfolds
An attacker prepares a wave file containing malicious payloads targeting the decompression logic; the file is delivered via email, download, or shared storage; the victim opens it with the vulnerable application, triggering command injection and arbitrary code execution.
How to fix it
Upgrade to the latest GTKWave release containing fixes for the decompression routines; until then, restrict opening of wave files from untrusted sources and consider running the application under restricted user contexts.
How to confirm the fix worked
Confirm application version against vendor releases, review release notes for decompression fixes, and test sample files in an isolated environment to verify command execution is prevented.
Typical attack path
- Create malicious wave file exploiting vcd_recorder_main decompression
- Deliver file to target via email, web, or removable media
- Victim opens file in affected application
- Injected commands execute with user privileges
How to detect it
Review process creation and command-line logs for GTKWave spawning unexpected shell or system utilities; inspect recent wave file access timestamps and origins in user activity logs.
What your security team should do
- Block or sandbox opening of untrusted wave files in GTKWave
- Monitor vendor site for patch availability and deploy immediately
- Implement application allow-listing or least-privilege execution policies
- Add file-type and process creation monitoring around GTKWave usage
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 `vcd_recorder_main`.
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