Integer Overflow or Wraparound 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.39% (31st 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 Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

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

Introduced: 8 Jan 2024

CVE-2023-35057  (opens in a new tab)
CWE-190  (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 Integer Overflow or Wraparound due to improper handling of lxt2_rd_trace value elements allocation when processing a specially crafted .lxt2 file, which can lead to memory corruption. An attacker can achieve code execution or cause a denial of service by convincing a user to open a malicious file.

CVSS Base Scores

version 3.1