CVE-2023-36747 Memory corruption in GTKWave
A heap-based buffer overflow in GTKWave allows attackers to execute arbitrary code or cause denial of service by tricking a user into opening a malicious .fst file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-36747?
CVE-2023-36747 is a high-severity memory corruption vulnerability in Tonybybell Gtkwave, published on 8 Jan 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Multiple heap-based buffer overflow vulnerabilities exist in the fstReaderIterBlocks2 fstWritex len functionality of GTKWave 3.3.115. A specially crafted .fst file can lead to memory corruption. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the handling of `len` in `fstWritex` when `beg_time` does not match the start of the time table.
Which versions are affected by CVE-2023-36747?
It affects 1 product.
Products include Tonybybell Gtkwave.
How do I fix CVE-2023-36747?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-36747 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-36747 exists.
Other vulnerabilities in Tonybybell Gtkwave
Sources
Also known as DEBIAN-CVE-2023-36747, GHSA-cf7q-84pj-gw7g, UBUNTU-CVE-2023-36747.