Uncontrolled resource consumption in zstd
Priority MEDIUM 42CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 6 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01588 75th percentileScored 2026-11-07
Fix Partial github.com/facebook/zstd (SwiftURL): 1.5.4zstd (PyPI): 1.5.4.0Red Hat: 4 advisoriesRed Hat: 6 fixed, 1 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | zstd | zstd 1.5.4 | — | No fix listed | CNA |
| — | github.com/facebook/zstd (SwiftURL) | before 1.5.4 | 1.5.4 | Patch available | GHSA-5c9c-6x87-f9vm |
| — | zstd (PyPI) | before 1.5.4.0 | 1.5.4.0 | Patch available | GHSA-5c9c-6x87-f9vm |
- zstd Vendor— Affected zstd 1.5.4 Fixed in — No fix listed CNA
- github.com/facebook/zstd (SwiftURL) Vendor— Affected before 1.5.4 Fixed in 1.5.4 Patch available GHSA-5c9c-6x87-f9vm
- zstd (PyPI) Vendor— Affected before 1.5.4.0 Fixed in 1.5.4.0 Patch available GHSA-5c9c-6x87-f9vm
Remediation
- Fix · GHSA-5c9c-6x87-f9vm github.com/facebook/zstd (SwiftURL) Fixed in 1.5.4 Advisory →
- Fix · GHSA-5c9c-6x87-f9vm zstd (PyPI) Fixed in 1.5.4.0 Advisory →
Red Hat 4 advisories
- RHSA-2024:3527 Released 2024-05-30 · Red Hat rating ModerateRed Hat AMQ Streams 2.7.0 release and security update
- Red Hat AMQ Streams 2.7.0
- RHSA-2024:2619 Released 2024-04-30 · Red Hat rating Moderaterh-mysql80-mysql security update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-mysql80-mysql-8.0.36-1.el7, rh-mysql80-mysql-common-8.0.36-1.el7, rh-mysql80-mysql-config-8.0.36-1.el7 +8
- Red Hat Software Collections for RHEL(v. 7) rh-mysql80-mysql-8.0.36-1.el7, rh-mysql80-mysql-common-8.0.36-1.el7, rh-mysql80-mysql-config-8.0.36-1.el7 +8
- RHSA-2024:1141 Released 2024-03-05 · Red Hat rating Moderatemysql security update
- Red Hat CodeReady Linux Builder (v. 9) mysql-devel-8.0.36-1.el9_3, mysql-libs-8.0.36-1.el9_3, mysql-test-8.0.36-1.el9_3
- Red Hat Enterprise Linux AppStream (v. 9) mysql-8.0.36-1.el9_3, mysql-common-8.0.36-1.el9_3, mysql-errmsg-8.0.36-1.el9_3 +1
Show 1 more Red Hat advisories
- RHSA-2024:0894 Released 2024-02-20 · Red Hat rating Moderatemysql:8.0 security update
- Red Hat Enterprise Linux AppStream (v. 8) mecab-0.996-2.module+el8.9.0+21207+6c20cb3d.aarch64::mysql:8.0, mecab-0.996-2.module+el8.9.0+21207+6c20cb3d.ppc64le::mysql:8.0, mecab-0.996-2.module+el8.9.0+21207+6c20cb3d.s390x::mysql:8.0 +44
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat AMQ Streams 2.7.0 | Fixed | RHSA-2024:3527 |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2024:1141 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2024:0894 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:1141 |
| Red Hat Software Collections for RHEL Workstation(v. 7) | Fixed | RHSA-2024:2619 |
| Red Hat Software Collections for RHEL(v. 7) | Fixed | RHSA-2024:2619 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-4899
- 2026-10-03 Alias added: GHSA-5c9c-6x87-f9vm
References
Advisory 4
Other 9
- https://security.netapp.com/advisory/ntap-20230725-0005/
- https://github.com/facebook/zstd/pull/3220
- https://github.com/sergey-dryabzhinsky/python-zstd/commit/c8a619aebdbd6b838fbfef6e19325a70f631a4c6
- https://github.com/facebook/zstd
- https://github.com/pypa/advisory-database/tree/main/vulns/zstd/PYSEC-2023-121.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN
- https://security.netapp.com/advisory/ntap-20230725-0005
More Meta Zstandard vulnerabilities
- TI-2019-08927 Race condition in Meta Zstandard CVSS 3.0HIGH 8.1
- TI-2021-06348 Incorrect default permissions in Meta Zstandard CVSS 3.1MEDIUM 5.5
- TI-2021-06349 Incorrect default permissions in Meta Zstandard CVSS 3.1MEDIUM 4.7
Sources
- CVE-2022-4899 · CVE Program
- CVE-2022-4899 · NVD
- FIRST EPSS
- GHSA-5c9c-6x87-f9vm · GitHub Advisory Database · CC BY 4.0
- CVE-2022-4899 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences