CVE-2023-37922
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
A flaw in waveform file handling software lets attackers take over a computer if someone opens a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Arbitrary write vulnerability in VCD sorted bsearch functionality allows code execution when processing a malicious file via the vcd2lxt2 utility.
Why it matters to the business
Attackers can gain full control of systems that process untrusted VCD waveform files, leading to potential data theft, system compromise, or further network intrusion; low EPSS and no known ransomware use reduce immediate urgency but the flaw remains exploitable locally.
How an attack unfolds
An attacker crafts a malicious .vcd file that triggers the sorted bsearch arbitrary write during conversion; the victim must open or convert the file using the vulnerable vcd2lxt2 utility, resulting in arbitrary code execution.
How to fix it
Upgrade affected GTKWave installations to a version containing the fix commit c52b023659f4ad7b626874c1063f2b5e878a4fe0; avoid processing untrusted .vcd files until updated.
How to confirm the fix worked
Verify the installed GTKWave version is newer than 3.3.115 and contains commit c52b023659f4ad7b626874c1063f2b5e878a4fe0; test by attempting conversion of known-good VCD files.
Typical attack path
- Craft malicious .vcd file exploiting VCD bsearch logic
- Deliver file to victim via email, download, or shared storage
- Victim opens file with vcd2lxt2 conversion utility
- Arbitrary write occurs leading to code execution
How to detect it
Review process execution logs and file access records for invocations of vcd2lxt2 on unexpected .vcd files; look for unusual child processes or crashes following VCD conversion attempts.
What your security team should do
- Prioritize patching GTKWave on developer and engineering workstations that handle waveform files
- Implement file-type restrictions or sandboxing for VCD processing utilities
- Monitor for new exploit releases given the ExploitAvailable maturity rating
The record
Multiple arbitrary write vulnerabilities exist in the VCD sorted bsearch functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the arbitrary write when triggered via the vcd2lxt2 conversion 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