---
id: CVE-2025-59375
title: >-
  libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic
  memory allocations via a small document that is submitted for parsing.
summary: >-
  libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic
  memory allocations via a small document that is submitted for parsing.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:H/RL:T/RC:C'
cvssSource: cna
cwe:
  - CWE-770
vendor: libexpat project
product: libexpat
affected:
  - libexpat < 2.7.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-09-15T20:22:58.509715Z'
published: '2025-09-15'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:09:25.199Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-59375'
references:
  - url: 'https://github.com/libexpat/libexpat/issues/1018'
  - url: 'https://github.com/libexpat/libexpat/pull/1034'
  - url: >-
      https://github.com/libexpat/libexpat/blob/676a4c531ec768732fac215da9730b5f50fbd2bf/expat/Changes#L45-L74
  - url: 'https://issues.oss-fuzz.com/issues/439133977'
  - url: 'https://github.com/libexpat/libexpat/blob/R_2_7_2/expat/Changes'
tags:
  - cve.org
epss: 0.01315
epssPercentile: 0.70174
ingestedAt: '2026-10-15T05:52:46.068Z'
---

## Overview

libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.

## Affected

- `libexpat < 2.7.2`

## Remediation

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