Buffer Overflow Affecting zstd package, versions [,1.5.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (45th 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 IDSNYK-CONAN-ZSTD-10078587
  • published8 May 2025
  • disclosed2 Apr 2023
  • credityiyuaner

Introduced: 2 Apr 2023

CVE-2022-4899  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade zstd to version 1.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow where an attacker can supply empty string as an argument to the command line tool to cause buffer overrun.

CVSS Base Scores

version 3.1