CVE-2023-39274
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
A bug in popular waveform viewing software could let attackers take over a computer simply by tricking someone into opening a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow during allocation of the len array in LXT2 facgeometry parsing allows out-of-bounds memory access and potential arbitrary code execution when a crafted .lxt2 file is processed.
Why it matters to the business
Attackers can gain full control of systems running the affected waveform viewer if users open malicious files, leading to data theft, ransomware deployment, or lateral movement with no vendor patch currently published.
How an attack unfolds
An attacker crafts a .lxt2 file containing specially chosen geometry values that trigger an integer overflow when GTKWave allocates the len array; the victim opens the file in the vulnerable application, the overflow corrupts memory structures, and attacker-controlled code is executed.
How to fix it
Upgrade to the latest GTKWave release once a fix is published; until then, avoid opening untrusted .lxt2 files and run the application under sandboxing or least-privilege constraints.
How to confirm the fix worked
Confirm GTKWave version is newer than 3.3.115 and test that crafted LXT2 samples no longer trigger crashes or unexpected memory behavior during facgeometry parsing.
Typical attack path
- Create malicious .lxt2 file with oversized facgeometry values
- Deliver file via email, download link, or shared storage
- Victim opens file in GTKWave 3.3.115
- Integer overflow occurs during len array allocation
- Memory corruption leads to arbitrary code execution
How to detect it
Review file-open logs and process creation events for GTKWave handling of .lxt2 files from untrusted sources; look for application crashes or memory-corruption indicators shortly after file access.
What your security team should do
- Block or sandbox GTKWave execution on high-risk endpoints until patched
- Implement file-type restrictions and user training to prevent opening untrusted waveform files
- Monitor for new upstream releases and expedite deployment once available
The record
Multiple integer overflow vulnerabilities exist in the LXT2 facgeometry parsing functionality of GTKWave 3.3.115. A specially crafted .lxt2 file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the integer overflow when allocating the `len` array.
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