CVE-2023-35959
High · 7.8CVSS
7.8
EPSS
1.5%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
Opening a specially made file in a waveform viewing program could let an attacker run any commands they want on the 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
Multiple OS command injection vulnerabilities exist in the decompression functionality allowing arbitrary command execution when processing a specially crafted .ghw wave file.
Why it matters to the business
Attackers can achieve full system compromise on victim machines by delivering malicious files, increasing risk for organizations using the affected software with no ransomware association or known active campaigns.
How an attack unfolds
An attacker creates a malicious .ghw file embedding OS commands in the decompression path, delivers it to a target user, and achieves execution when the file is opened in the vulnerable application.
How to fix it
Update the affected software to a fixed version; for chromium on Debian 12 apply 126.0.6478.56-1~deb12u1 or later equivalent patches for the GTKWave component.
How to confirm the fix worked
Verify the installed version matches or exceeds the fixed release, test with known-good and crafted .ghw files in a lab environment, and confirm no command injection occurs on open.
Typical attack path
- Craft a malicious .ghw file containing injected commands
- Distribute the file via email, download, or shared storage
- Victim opens the file in the affected application
- Decompression triggers command execution
How to detect it
Review application logs and file access records for unexpected .ghw file opens, monitor process creation events for unusual commands spawned during file handling, and check for any post-exploitation artifacts from command execution.
What your security team should do
- Apply the listed fixed versions immediately due to public exploit availability
- Restrict opening of untrusted wave files until patched
- Monitor for new threat actor activity targeting this issue
- Scan environments for presence of the vulnerable version
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 `.ghw` decompression.
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