CVEfocus › CVE database › CVE-2022-4899

CVE-2022-4899

CVSS 7.5 HighEPSS 1.6% (higher than 76% of CVEs)Published 2023-03-31Updated 2025-02-18Assigner: redhat

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

CWE-400

What to do

Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
2Fix pending
3Will not fix
15Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libzstdNot affected
vulnerable_code_not_present
Ubuntu 25.10libzstdNot affected
vulnerable_code_not_present
Ubuntu 24.04libzstdNot affected
vulnerable_code_not_present
Ubuntu 22.04libzstdFix pendingUBUNTU-CVE-2022-4899
Ubuntu 20.04libzstdNot affected
vulnerable_code_not_present
Ubuntu 16.04libzstdFix pending
Debian 14libzstdFixed1.5.4+dfsg2-1DEBIAN-CVE-2022-4899
Debian 13libzstdFixed1.5.4+dfsg2-1DEBIAN-CVE-2022-4899
Debian 12libzstdFixed1.5.4+dfsg2-1DEBIAN-CVE-2022-4899
Red Hat Enterprise Linux 9libzstdNot affected
Red Hat Enterprise Linux 9libzstd-develNot affected
Red Hat Enterprise Linux 9mysqlFixed0:8.0.36-1.el9_3RHSA-2024:1141
Red Hat Enterprise Linux 9mysql-commonFixed0:8.0.36-1.el9_3RHSA-2024:1141
Red Hat Enterprise Linux 9mysql-develFixed0:8.0.36-1.el9_3RHSA-2024:1141
Red Hat Enterprise Linux 9mysql-errmsgFixed0:8.0.36-1.el9_3RHSA-2024:1141
Red Hat Enterprise Linux 9mysql-libsFixed0:8.0.36-1.el9_3RHSA-2024:1141
Red Hat Enterprise Linux 9mysql-serverFixed0:8.0.36-1.el9_3RHSA-2024:1141
Red Hat Enterprise Linux 9mysql-testFixed0:8.0.36-1.el9_3RHSA-2024:1141
Red Hat Enterprise Linux 9zstdNot affected
Red Hat Enterprise Linux 8libzstdWill not fix
Will not fix
Red Hat Enterprise Linux 8libzstd-develWill not fix
Will not fix
Red Hat Enterprise Linux 8mecabFixed0:0.996-2.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mecab-develFixed0:0.996-2.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mecab-ipadicFixed0:2.7.0.20070801-16.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mecab-ipadic-EUCJPFixed0:2.7.0.20070801-16.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mysqlFixed0:8.0.36-1.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mysql-commonFixed0:8.0.36-1.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mysql-develFixed0:8.0.36-1.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mysql-errmsgFixed0:8.0.36-1.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mysql-libsFixed0:8.0.36-1.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mysql-serverFixed0:8.0.36-1.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8mysql-testFixed0:8.0.36-1.module+el8.9.0+21207+6c20cb3dRHSA-2024:0894
Red Hat Enterprise Linux 8zstdWill not fix
Will not fix
Red Hat Enterprise Linux 6mysqlNot affected
Red Hat Enterprise Linux 6mysql-benchNot affected
Red Hat Enterprise Linux 6mysql-develNot affected
Red Hat Enterprise Linux 6mysql-embeddedNot affected
Red Hat Enterprise Linux 6mysql-embedded-develNot affected
Red Hat Enterprise Linux 6mysql-libsNot affected
Red Hat Enterprise Linux 6mysql-serverNot affected
Red Hat Enterprise Linux 6mysql-testNot affected
AlmaLinux 9mysqlFixed8.0.36-1.el9_3ALSA-2024:1141
AlmaLinux 9mysql-commonFixed8.0.36-1.el9_3ALSA-2024:1141
AlmaLinux 9mysql-develFixed8.0.36-1.el9_3ALSA-2024:1141
AlmaLinux 9mysql-errmsgFixed8.0.36-1.el9_3ALSA-2024:1141
AlmaLinux 9mysql-libsFixed8.0.36-1.el9_3ALSA-2024:1141
AlmaLinux 9mysql-serverFixed8.0.36-1.el9_3ALSA-2024:1141
AlmaLinux 9mysql-testFixed8.0.36-1.el9_3ALSA-2024:1141
AlmaLinux 8mecabFixed0.996-2.module_el8.6.0+3340+d764b636ALSA-2024:0894
AlmaLinux 8mecab-develFixed0.996-2.module_el8.6.0+3340+d764b636ALSA-2024:0894
AlmaLinux 8mecab-ipadicFixed2.7.0.20070801-16.module_el8.6.0+3340+d764b636ALSA-2024:0894
AlmaLinux 8mecab-ipadic-EUCJPFixed2.7.0.20070801-16.module_el8.6.0+3340+d764b636ALSA-2024:0894
AlmaLinux 8mysqlFixed8.0.36-1.module_el8.9.0+3735+82bd6c11ALSA-2024:0894
AlmaLinux 8mysql-commonFixed8.0.36-1.module_el8.9.0+3735+82bd6c11ALSA-2024:0894
AlmaLinux 8mysql-develFixed8.0.36-1.module_el8.9.0+3735+82bd6c11ALSA-2024:0894
AlmaLinux 8mysql-errmsgFixed8.0.36-1.module_el8.9.0+3735+82bd6c11ALSA-2024:0894
AlmaLinux 8mysql-libsFixed8.0.36-1.module_el8.9.0+3735+82bd6c11ALSA-2024:0894
AlmaLinux 8mysql-serverFixed8.0.36-1.module_el8.9.0+3735+82bd6c11ALSA-2024:0894
AlmaLinux 8mysql-testFixed8.0.36-1.module_el8.9.0+3735+82bd6c11ALSA-2024:0894
Rocky Linux 8mecabFixed0:0.996-2.module+el8.10.0+1676+9b4b6e24RLSA-2024:0894
Rocky Linux 8mecab-ipadicFixed0:2.7.0.20070801-16.module+el8.10.0+1676+9b4b6e24RLSA-2024:0894
Rocky Linux 8mysqlFixed0:8.0.36-1.module+el8.10.0+1676+9b4b6e24RLSA-2024:0894
PyPI libraryzstdFixed1.5.4.0GHSA-5c9c-6x87-f9vm

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.