CVE-2023-38651
High · 7.8CVSS
7.8
EPSS
0.4%
Published
Jan 8, 2024
CISA due date
—
Cloudanix analysis
A bug in file reading software can let attackers damage memory and potentially take over a computer if someone opens a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in VZT vzt_rd_block_vch_decode times parsing when num_time_ticks is zero leads to memory corruption.
Why it matters to the business
Attackers can achieve memory corruption and potential code execution on user systems by tricking victims into opening malicious files; available public exploit increases risk for organizations using affected software versions despite low EPSS and no KEV listing.
How an attack unfolds
An attacker creates a specially crafted .vzt file that triggers an integer overflow in the times parsing path when num_time_ticks is zero, causing memory corruption; the victim opens the file in the vulnerable application to trigger the flaw.
How to fix it
Upgrade hashicorp/vault (GIT) to commit d93899cf3e387f6ba4448953d9347571d819de62.
How to confirm the fix worked
Confirm the software version or commit hash matches the fixed commit d93899cf3e387f6ba4448953d9347571d819de62 and test parsing of crafted VZT files with num_time_ticks set to zero.
Typical attack path
- Craft malicious .vzt file with zero num_time_ticks value to trigger overflow
- Deliver file via email, download, or shared storage
- Victim opens file in vulnerable application
- Exploit memory corruption for code execution or denial of service
How to detect it
Review application logs and file access records for unexpected VZT file opens; look for crashes or memory errors during file parsing shortly after file access.
What your security team should do
- Immediately upgrade all instances of the affected software to the listed fixed commit
- Block opening of untrusted .vzt files until patches are applied
- Monitor for new exploit code and update detection rules
- Review file handling policies for waveform or similar data files
The record
Multiple integer overflow vulnerabilities exist in the VZT vzt_rd_block_vch_decode times parsing functionality of GTKWave 3.3.115. A specially crafted .vzt file can lead to memory corruption. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the integer overflow when num_time_ticks is zero.
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