CVE-2022-4899
MySQL vulnerability analysis and mitigation

Overview

A vulnerability was discovered in zstd v1.4.10 (CVE-2022-4899), where an attacker can supply an empty string as an argument to the command line tool to cause a buffer overrun. The vulnerability was first reported on January 31, 2023 (CVE Details).

Technical details

The vulnerability exists in the mallocAndJoin2Dir function within programs/util.c. When dir1Size=0 (i.e., dir1=""), the buffer access *(buffer - 1) results in an out-of-bounds read. The vulnerable code was introduced by commit 9a8ccd4b in version 1.4.6. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD, NetApp Advisory).

Impact

Successful exploitation of this vulnerability could lead to a buffer overrun condition, potentially resulting in a crash of the application (Denial of Service). The impact is primarily on the availability of the system, with no direct impact on confidentiality or integrity (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in zstd version 1.5.4+dfsg2-5 and later releases. Users are advised to upgrade to the patched versions. For Debian systems, the fix is available in bookworm and later distributions (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-53054MEDIUM5.5
  • MySQLMySQL
  • mysql8.4-test
NoYesOct 21, 2025
CVE-2025-53053MEDIUM5.5
  • MySQLMySQL
  • mysql8.4-devel
NoYesOct 21, 2025
CVE-2025-53069MEDIUM4.9
  • MySQLMySQL
  • mysql8.4-errmsg
NoYesOct 21, 2025
CVE-2025-53067MEDIUM4.9
  • MySQLMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 21, 2025
CVE-2025-53062MEDIUM4.9
  • MySQLMySQL
  • mysql-test-data
NoYesOct 21, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management