PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2023-52425: 
MySQL vulnerability analysis and mitigation

Overview

CVE-2023-52425 affects libexpat through version 2.5.0. The vulnerability allows a denial of service (resource consumption) attack when parsing large XML tokens that require multiple buffer fills to complete, as the parser needs to re-parse the token from start multiple times (NVD, Debian LTS).

Technical details

The vulnerability stems from libexpat's handling of large tokens requiring multiple buffer fills. When parsing such tokens, the library has to repeatedly re-parse from the beginning, leading to excessive resource consumption. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it can be exploited remotely without requiring privileges or user interaction (NVD, NetApp Advisory).

Impact

Successful exploitation of this vulnerability can lead to a denial of service condition through resource consumption. The impact is limited to availability, with no direct effect on confidentiality or integrity of the system (NetApp Advisory).

Exploitability

The vulnerability can be triggered by providing XML input containing large tokens that require multiple buffer fills to process. No authentication or special privileges are required to exploit this vulnerability, making it accessible to remote attackers (NVD).

Mitigation and workarounds

The vulnerability has been fixed in libexpat version 2.6.0, which introduces a heuristic that defers further parsing until there's significantly more data available when the same token has failed multiple times. The fix also includes a new API, XML_SetReparseDeferralEnabled(), to optionally disable the new heuristic (Debian LTS, Fedora Update).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

expat: 2.6.0-r0

Fixed

v3.18

expat: 2.6.0-r0

Fixed

v3.19

expat: 2.6.0-r0

Fixed

v3.20

expat: 2.6.0-r0

Fixed

v3.21

expat: 2.6.0-r0

Fixed

v3.22

expat: 2.6.0-r0

Fixed

v3.23

expat: 2.6.0-r0

Fixed

Source: This report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-101800MEDIUM6.8
  • MySQL logoMySQL
  • mysql-libs
NoYesOct 20, 2026
CVE-2026-101803MEDIUM6.5
  • MySQL logoMySQL
  • mysql-server
NoYesOct 20, 2026
CVE-2026-101802MEDIUM6.5
  • MySQL logoMySQL
  • cpe:2.3:a:oracle:mysql_server
NoYesOct 20, 2026
CVE-2026-101799MEDIUM6.5
  • MySQL logoMySQL
  • mysql8.4-libs
NoYesOct 20, 2026
CVE-2026-101801MEDIUM4.9
  • MySQL logoMySQL
  • mysql8.4-libs
NoYesOct 20, 2026

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