Skip to content
OpenAdvisories
High · 7.5 CVE-2022-4899 EUVD-2023-0287GHSA-5c9c-6x87-f9vmPYSEC-2023-121

zstd vulnerable to buffer overrun

Published Mar 31, 2023 · Updated Feb 18, 2025 · 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.

Affected products

VendorProductAffectedFixed
— zstd zstd 1.5.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libzstd 1.5.4+dfsg2-1 —
Debian 13 libzstd 1.5.4+dfsg2-1 —
Debian 12 libzstd 1.5.4+dfsg2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libzstd No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 mysql +6 8.0.36-1.el9_3 RHSA-2024:1141
RHEL 8 mecab +1 0.996-2.module+el8.9.0+21207+6c20cb3d RHSA-2024:0894
RHEL 8 mecab-ipadic +1 2.7.0.20070801-16.module+el8.9.0+21207+6c20cb3d RHSA-2024:0894
RHEL 8 mysql +6 8.0.36-1.module+el8.9.0+21207+6c20cb3d RHSA-2024:0894
RHEL 3 rh-mysql80-mysql +10 8.0.36-1.el7 RHSA-2024:2619

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 mysql +6 8.0.36-1.el9_3 ALSA-2024:1141
AlmaLinux 8 mecab +1 0.996-2.module_el8.6.0+3340+d764b636 ALSA-2024:0894
AlmaLinux 8 mecab-ipadic +1 2.7.0.20070801-16.module_el8.6.0+3340+d764b636 ALSA-2024:0894
AlmaLinux 8 mysql +6 8.0.36-1.module_el8.9.0+3735+82bd6c11 ALSA-2024:0894

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 mecab 0.996-2.module+el8.10.0+1676+9b4b6e24 RLSA-2024:0894
Rocky Linux 8 mecab-ipadic 2.7.0.20070801-16.module+el8.10.0+1676+9b4b6e24 RLSA-2024:0894
Rocky Linux 8 mysql 8.0.36-1.module+el8.10.0+1676+9b4b6e24 RLSA-2024:0894
ReleasePackageFixed inAdvisory
SLES 15 SP4 zstd 1.5.0-150400.3.3.1 SUSE-SU-2023:1688-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Real Time 15 SP3 zstd 1.4.4-150000.1.9.1 SUSE-SU-2023:2074-1
SLE Micro 5.4 zstd 1.5.0-150400.3.3.1 SUSE-SU-2023:1688-1
SLE Micro 5.3 zstd 1.5.0-150400.3.3.1 SUSE-SU-2023:1688-1
SLE Micro 5.2 zstd 1.4.4-150000.1.9.1 SUSE-SU-2023:2074-1
SLE Micro 5.1 zstd 1.4.4-150000.1.9.1 SUSE-SU-2023:2074-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed zstd 1.5.5-5.1 openSUSE-SU-2024:13613-1
openSUSE Leap 15.4 zstd 1.5.0-150400.3.3.1 SUSE-SU-2023:1688-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 zstd 1.5.0-150400.3.3.1 SUSE-SU-2023:1688-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 zstd +3 1.5.2-1.amzn2023.0.3 ALAS2023-2023-244
Amazon Linux 2 zstd +3 1.5.2-1.amzn2.0.1 ALAS2-2023-2140

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) zstd 1.5.4-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 mysql +6 8.0.36-1.el9_3 ELSA-2024-1141
Oracle Linux 8 mecab +1 0.996-2.module+el8.9.0+90153+70413b10 ELSA-2024-0894
Oracle Linux 8 mecab-ipadic +1 2.7.0.20070801-16.0.1.module+el8.9.0+90153+70413b10 ELSA-2024-0894
Oracle Linux 8 mysql +6 8.0.36-1.module+el8.9.0+90153+70413b10 ELSA-2024-0894

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI zstd < 1.5.4.0 1.5.4.0 GHSA-5c9c-6x87-f9vm
SwiftURL github.com/facebook/zstd < 1.5.4 1.5.4 GHSA-5c9c-6x87-f9vm

Advisories 16

References