Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. zstd
  4. ›
  5. CVE-2022-4899

CVE-2022-4899: zstd vulnerable to buffer overrun

March 31, 2023 (updated February 27, 2026)

A vulnerability was found in zstd v1.4.10, where an attacker can supply an empty string as an argument to the command line tool to cause buffer overrun.

References

  • github.com/advisories/GHSA-5c9c-6x87-f9vm
  • github.com/facebook/zstd
  • github.com/facebook/zstd/issues/3200
  • github.com/facebook/zstd/pull/3220
  • github.com/pypa/advisory-database/tree/main/vulns/zstd/PYSEC-2023-121.yaml
  • github.com/sergey-dryabzhinsky/python-zstd/commit/c8a619aebdbd6b838fbfef6e19325a70f631a4c6
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN
  • nvd.nist.gov/vuln/detail/CVE-2022-4899
  • security.netapp.com/advisory/ntap-20230725-0005

Code Behaviors & Features

Detect and mitigate CVE-2022-4899 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.5.4.0

Fixed versions

  • 1.5.4.0

Solution

Upgrade to version 1.5.4.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/zstd/CVE-2022-4899.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:13 +0000.