CVE-2023-38648
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
A specially crafted file opened in this waveform viewing tool can let attackers take over the computer.
- 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
Out-of-bounds write in the VZT vzt_rd_get_facname decompression prefix copy loop allows arbitrary code execution when a crafted .vzt file is processed.
Why it matters to the business
Attackers can gain full control of engineering workstations that open malicious waveform files, risking theft of hardware designs, disruption of verification workflows, and lateral movement in electronics development environments.
How an attack unfolds
An attacker creates a malformed .vzt file that triggers the out-of-bounds write during decompression; the file is delivered via email or download; the victim opens it in GTKWave; the flaw executes attacker-supplied code. Public exploit code is available.
How to fix it
Upgrade GTKWave to the latest release that resolves the VZT decompression vulnerabilities; avoid opening untrusted .vzt files until patched.
How to confirm the fix worked
Confirm GTKWave version exceeds the vulnerable release and test that known-good .vzt files open without crashes or unexpected behavior.
Typical attack path
- Craft malicious .vzt file exploiting prefix copy loop
- Distribute file through phishing or shared repositories
- Victim opens file in vulnerable GTKWave
- Decompression triggers out-of-bounds write
- Attacker payload achieves code execution
How to detect it
Review system and application logs for GTKWave crashes or abnormal child process creation immediately after .vzt file access; inspect recent file-handling activity for unexpected network connections or file writes.
What your security team should do
- Block opening of .vzt files from untrusted sources via policy or application control
- Monitor vendor announcements for the official patched release and deploy immediately
- Scan existing .vzt assets with updated detection rules if available
The record
Multiple out-of-bounds write vulnerabilities exist in the VZT vzt_rd_get_facname decompression functionality of GTKWave 3.3.115. A specially crafted .vzt file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the out-of-bounds write perfomed by the prefix copy loop.
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