Stack-based buffer overflow in GTKWave - CVE-2023-35704

 

Stack-based buffer overflow in GTKWave - CVE-2023-35704

Published: January 9, 2024


Vulnerability identifier: #VU85121
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-35704
CWE-ID: CWE-121
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 FST LEB128 varint functionality. A remote unauthenticated attacker can trick the victim to open a specially crafted .fst file, trigger a stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

GTKWave
Debian Linux
Fedora
gtkwave (Debian package)
gtkwave

How to mitigate CVE-2023-35704

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