Use After Free Affecting gtkwave/gtkwave package, versions [3.3.115,3.3.118)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GTKWAVEGTKWAVE-6150784
  • published11 Jan 2024
  • disclosed8 Jan 2024
  • creditClaudio Bozzato

Introduced: 8 Jan 2024

CVE-2023-37577  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade gtkwave/gtkwave to version 3.3.118 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the get_vartoken realloc functionality when processing a specially crafted .vcd file. An attacker can execute arbitrary code by convincing a user to open a malicious file.

Note: This is only exploitable if the victim uses the vcd2lxt2 conversion utility.

CVSS Base Scores

version 3.1