CVE-2023-35957 Memory corruption in GTKWave

High 7.8 Published Updated

A heap-based buffer overflow in GTKWave allows arbitrary code execution when a user opens 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-35957?

CVE-2023-35957 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 VCDATA parsing functionality of GTKWave 3.3.115. A specially-crafted .fst file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the decompression function `uncompress`.

Weakness: CWE-119

Which versions are affected by CVE-2023-35957?

It affects 1 product.

Products include Tonybybell Gtkwave.

How do I fix CVE-2023-35957?

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-35957 being exploited?

There is no known exploitation of CVE-2023-35957 in the wild and no public exploit code.

All Tonybybell Gtkwave vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-35957, GHSA-6r73-mrfj-4ww6, UBUNTU-CVE-2023-35957.

Is CVE-2023-35957 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free