CVE-2023-52426: libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.39% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: expat (Alpine:v3.16) 2.6.0-r0; expat (Debian:13) 2.6.0-1; expat (openSUSE:Tumbleweed) 2.6.0-1.1.
Low priority for now. Upgrade to expat (Alpine:v3.16) 2.6.0-r0; expat (Debian:13) 2.6.0-1; expat (openSUSE:Tumbleweed) 2.6.0-1.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Feb 4, 2024
- Updated
- Oct 15, 2026
- EPSS
- 0.3% · 34th percentile
- CWE
- CWE-776
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · mitre
- 5.5
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libexpat project | libexpat | cpe:2.3:a:libexpat_project:libexpat |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libexpat project libexpatup to 2.5.0 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.16 | expat | before 2.6.0-r0 | 2.6.0-r0 |
| Debian:12 | expat | from 0 | — |
| Debian:12 | libxmltok | from 0 | — |
| Debian:13 | expat | before 2.6.0-1 | 2.6.0-1 |
| openSUSE:Tumbleweed | expat | before 2.6.0-1.1 | 2.6.0-1.1 |
| SUSE:Linux Micro 6.0 | expat | before 2.7.1-1.1 | 2.7.1-1.1 |
| SUSE:Linux Micro 6.1 | expat | before 2.7.1-slfo.1.1_1.1 | 2.7.1-slfo.1.1_1.1 |
Same product
libexpat project: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-25236xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.50Plan
- CVE-2022-23852Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.41Plan
- CVE-2022-22822addBinding in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.41Plan
Published before and after this one in the same product
- ← EarlierCVE-2022-43680Oct 24, 2022 · In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in…31Monitor
- ← EarlierCVE-2023-52425Feb 4, 2024 · libexpat through 2.5.0 allows a denial of service (resource consumption) because many full reparsings are required in the case of a large…31Monitor
- Later →CVE-2024-28757Mar 10, 2024 · libexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:expat | 2.6.0-r0 · Alpine:v3.16 | Package registry (OSV) |
| debian:expat | 2.6.0-1 · Debian:13 | Package registry (OSV) |
| opensuse:expat | 2.6.0-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:expat | 2.7.1-1.1 · SUSE:Linux Micro 6.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-2875735 days apartlibexpat through 2.6.1 allows an XML Entity Expansion attack when there is isolated use of external parsers (created via…31Monitor
Not on record for this CVE: EPSS history · researcher credit · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-776 · Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- github.com/libexpat/libexpat/commit/0f075ec8ecb5e43f8fdca5182f8cca4703da0404
- github.com/libexpat/libexpat/pull/777
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNRIHC7DVVRAIWFRGV23Y6UZXFBXSQDB/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNUBSGZFEZOBHJFTAD42SAN4ATW2VEMV/
- security.netapp.com/advisory/ntap-20240307-0005/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PNRIHC7DVVRAIWFRGV23Y6UZXFBXSQDB/
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-784301.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.