CVE-2023-37418 Memory corruption in GTKWave

High 7.8 Published Updated

A crafted VCD file can trigger an out-of-bounds write in GTKWave's vcd2vzt utility, allowing arbitrary code execution when opened.

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-37418?

CVE-2023-37418 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 out-of-bounds write vulnerabilities exist in the VCD parse_valuechange portdump functionality of GTKWave 3.3.115. A specially crafted .vcd file can lead to arbitrary code execution. A victim would need to open a malicious file to trigger these vulnerabilities.This vulnerability concerns the out-of-bounds write when triggered via the vcd2vzt conversion utility.

Weakness: CWE-787

Which versions are affected by CVE-2023-37418?

It affects 1 product.

Products include Tonybybell Gtkwave.

How do I fix CVE-2023-37418?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37418 exists.

All Tonybybell Gtkwave vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-37418, GHSA-5g3m-p64v-8cm3, UBUNTU-CVE-2023-37418.

Is CVE-2023-37418 in your software?

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

Check your SBOMs for free