{"id":"GHSA-5c9c-6x87-f9vm","summary":"zstd vulnerable to buffer overrun","details":"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.","aliases":["CVE-2022-4899"],"modified":"2026-06-23T11:26:11.289196413Z","published":"2023-03-31T21:30:37Z","database_specific":{"nvd_published_at":"2023-03-31T20:15:00Z","cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-06-06T01:53:37Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4899"},{"type":"WEB","url":"https://github.com/facebook/zstd/issues/3200"},{"type":"WEB","url":"https://github.com/facebook/zstd/pull/3220"},{"type":"WEB","url":"https://github.com/sergey-dryabzhinsky/python-zstd/commit/c8a619aebdbd6b838fbfef6e19325a70f631a4c6"},{"type":"PACKAGE","url":"https://github.com/facebook/zstd"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/zstd/PYSEC-2023-121.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230725-0005"}],"affected":[{"package":{"name":"github.com/facebook/zstd","ecosystem":"SwiftURL","purl":"pkg:swift/github.com/facebook/zstd"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.5.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-5c9c-6x87-f9vm/GHSA-5c9c-6x87-f9vm.json"}},{"package":{"name":"zstd","ecosystem":"PyPI","purl":"pkg:pypi/zstd"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.4.0"}]}],"versions":["1.1.4","1.2.0","1.3.0.2","1.3.1","1.3.3","1.3.4","1.3.4.3","1.3.4.4","1.3.4.5","1.3.5.0","1.3.5.1","1.3.8.0","1.3.8.1","1.4.0.0","1.4.1.0","1.4.3.2","1.4.4.0","1.4.5.0","1.4.5.1","1.4.8.0","1.4.8.1","1.4.9.0","1.4.9.1","1.5.0.0","1.5.0.1","1.5.0.2","1.5.0.3","1.5.0.4","1.5.1.0","1.5.2.0","1.5.2.1","1.5.2.2","1.5.2.3","1.5.2.4","1.5.2.5","1.5.2.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-5c9c-6x87-f9vm/GHSA-5c9c-6x87-f9vm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}