CVE-2023-52425: Large-token parsing denial of service in libexpat
- Vendor
- Libexpat Project
Expat (libexpat) through version 2.5.0, unless patched by a downstream vendor, contains a resource-consumption vulnerability in XML token parsing. When a large token requires multiple buffer fills to complete, the parser repeatedly reparses the token from its beginning. Attacker-controlled XML can therefore cause excessive processing and denial of service in applications using the library.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation can exhaust processing resources, degrading responsiveness or rendering an affected XML-processing application unavailable. The vulnerability has high availability impact and no assessed confidentiality or integrity impact. Its CVSS v3.1 base score is 7.5.
Mitigation
If you can’t patch tonight, do this now.
No generally applicable workaround meeting Red Hat's deployment, applicability, and stability criteria is available. Apply the relevant security update rather than relying on a temporary mitigation.
Remediation
Patch, then assume compromise.
Upgrade libexpat to version 2.6.0 or later, or install the applicable vendor package containing a backported fix. Update applications and container images that bundle libexpat rather than relying solely on system-library updates. Restart applications using the library after installation. The upstream fix introduces reparse deferral; preserve this protection when configuring APIs that expose it.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-52425 exploited in the wild?
- As of Nov 18, 2026, Mallory has no reports of CVE-2023-52425 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-52425?
- Yes. As of Nov 18, 2026, Mallory has reports of a public exploit for CVE-2023-52425.
- Is there a patch for CVE-2023-52425?
- Upgrade libexpat to version 2.6.0 or later, or install the applicable vendor package containing a backported fix. Update applications and container images that bundle libexpat rather than relying solely on system-library updates.
- What products are affected by CVE-2023-52425?
- Libexpat Project Libexpat.
- How severe is CVE-2023-52425?
- CVE-2023-52425 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 2.0% (81st percentile) as of Nov 18, 2026.
Recent activity
38 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.