Heap-based buffer overflow in GTKWave - CVE-2023-35958

 

Heap-based buffer overflow in GTKWave - CVE-2023-35958

Published: January 9, 2024


Vulnerability identifier: #VU85141
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-35958
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the fstReaderIterBlocks2 VCDATA parsing functionality. A remote attacker can trick the victim to open a specially crafted .fst file, trigger a heap-based buffer overflow and execute arbitrary code on the target system.


Affected software

GTKWave
Debian Linux
Fedora
gtkwave (Debian package)
gtkwave

How to mitigate CVE-2023-35958

Install updates from vendor's website.

GTKWave - update to 3.3.118
gtkwave (Debian package) - addressed in versions 3.3.104+really3.3.118-0+deb11u1, 3.3.118-0.1~deb12u1
gtkwave - addressed in versions 3.3.118-1.el7, 3.3.118-1.el8, 3.3.118-1.el9, 3.3.118-1.fc38, 3.3.118-1.fc39

External References

Related Security Bulletins