Stack-based buffer overflow in GTKWave - CVE-2023-35702
Published: January 9, 2024
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
Debian Linux
Fedora
gtkwave (Debian package)
gtkwave
How to mitigate CVE-2023-35702
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