7.5
CWE
400 119
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2022-4899: Buffer Overflow

First published: Mon Mar 20 2023(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
pip/zstd<1.5.4.0
1.5.4.0
swift/github.com/facebook/zstd<1.5.4
1.5.4
Facebook Zstandard=1.4.10
redhat/mysql<8.0.34
8.0.34
=1.4.10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2022-4899?

    The severity of CVE-2022-4899 is high with a CVSS score of 7.5.

  • How does CVE-2022-4899 affect zstd version 1.4.10?

    CVE-2022-4899 affects zstd version 1.4.10 by allowing an attacker to supply an empty string as a command line argument, causing buffer overrun.

  • Which software versions are affected by CVE-2022-4899?

    CVE-2022-4899 affects zstd version 1.4.10 in the pip package, zstd version 1.4.10 in the swift package, and all versions of Facebook Zstandard up to and excluding 1.5.4.

  • How can I fix CVE-2022-4899?

    To fix CVE-2022-4899, update to zstd version 1.5.4 or later for the pip package, update to zstd version 1.5.4 or later for the swift package, or update to Facebook Zstandard version 1.5.4 or later.

  • Where can I find more information about CVE-2022-4899?

    You can find more information about CVE-2022-4899 at the following references: - [NIST NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-4899) - [GitHub Issue](https://github.com/facebook/zstd/issues/3200) - [GitHub Pull Request](https://github.com/facebook/zstd/pull/3220)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203