# CVE-2022-4899: zstd vulnerable to buffer overrun

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.59%, higher than 76% of CVEs (2026-12-02)
- Published: 2023-03-31T00:00:00.000Z
- Modified: 2026-06-23T11:26:27.833Z
- Also known as: GHSA-5c9c-6x87-f9vm, PYSEC-2023-121
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- zstd: zstd 1.5.4
- github.com/facebook/zstd (SwiftURL): before 1.5.4
- zstd (PyPI): before 1.5.4.0; before 1.5.4
- facebook zstandard: 1.4.10

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/facebook/zstd/issues/3200> (fix, issue-tracking, patch, report, web)
- <https://security.netapp.com/advisory/ntap-20230725-0005/> (advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4899> (advisory)
- <https://github.com/facebook/zstd/pull/3220> (web)
- <https://github.com/sergey-dryabzhinsky/python-zstd/commit/c8a619aebdbd6b838fbfef6e19325a70f631a4c6> (web)
- <https://github.com/facebook/zstd> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/zstd/PYSEC-2023-121.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN> (web)
- <https://security.netapp.com/advisory/ntap-20230725-0005> (web)
- <https://github.com/advisories/GHSA-5c9c-6x87-f9vm> (advisory)

## Sources

- CVE List: [CVE-2022-4899](https://www.cve.org/CVERecord?id=CVE-2022-4899), CVE Terms of Use, modified 2025-02-18
- GitHub Advisory Database: [GHSA-5c9c-6x87-f9vm](https://github.com/advisories/GHSA-5c9c-6x87-f9vm), CC-BY-4.0, modified 2026-06-23
- NVD: [CVE-2022-4899](https://nvd.nist.gov/vuln/detail/CVE-2022-4899), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-121](https://osv.dev/vulnerability/PYSEC-2023-121), CC-BY-4.0, modified 2026-06-23

---

Page: https://cve.day/CVE-2022-4899 · Whole record: https://cve.day/CVE-2022-4899.json · Rebuilt by cve.day 2026-11-25T22:58:19.020Z
