---
id: CVE-2023-52426
title: >-
  libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is
  undefined at compile time.
summary: >-
  libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is
  undefined at compile time.
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-776
vendor: libexpat_project
product: libexpat
affected:
  - libexpat <= 2.5.0
published: '2024-02-04'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:13.283'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52426'
references:
  - url: 'https://cwe.mitre.org/data/definitions/776.html'
    label: cve@mitre.org
  - url: >-
      https://github.com/libexpat/libexpat/commit/0f075ec8ecb5e43f8fdca5182f8cca4703da0404
    label: cve@mitre.org
  - url: 'https://github.com/libexpat/libexpat/pull/777'
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNRIHC7DVVRAIWFRGV23Y6UZXFBXSQDB/
    label: cve@mitre.org
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNUBSGZFEZOBHJFTAD42SAN4ATW2VEMV/
    label: cve@mitre.org
  - url: 'https://security.netapp.com/advisory/ntap-20240307-0005/'
    label: cve@mitre.org
  - url: 'https://cwe.mitre.org/data/definitions/776.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://github.com/libexpat/libexpat/commit/0f075ec8ecb5e43f8fdca5182f8cca4703da0404
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://github.com/libexpat/libexpat/pull/777'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PNRIHC7DVVRAIWFRGV23Y6UZXFBXSQDB/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNUBSGZFEZOBHJFTAD42SAN4ATW2VEMV/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PNRIHC7DVVRAIWFRGV23Y6UZXFBXSQDB/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20240307-0005/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-784301.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00373
epssPercentile: 0.29517
ingestedAt: '2026-10-15T03:30:12.637Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-06-26T15:54:28.451554Z'
---

## Overview

libexpat through 2.5.0 allows recursive XML Entity Expansion if XML_DTD is undefined at compile time.

## Affected

- `libexpat <= 2.5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
