CVE-2025-59375
CBL Mariner vulnerability analysis and mitigation

Overview

A memory amplification vulnerability was discovered in libexpat versions before 2.7.2, identified as CVE-2025-59375. The vulnerability allows attackers to trigger large dynamic memory allocations by submitting a small document for parsing. The issue was discovered through OSS-Fuzz testing and was publicly disclosed on September 14, 2025 (NVD, Ubuntu).

Technical details

The vulnerability stems from the XML parser's handling of opening tags, where each tag (approximately 3 bytes) triggers an allocation of at least 120 bytes of dynamic memory on amd64 hardware. This can lead to memory usage exceeding 1,000 times the payload filesize. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility with no required privileges or user interaction (NVD, Debian).

Impact

When exploited, the vulnerability can cause excessive memory consumption, potentially leading to out-of-memory conditions. Testing showed that a small input file could cause memory usage to reach the 2 GiB limit, affecting system availability. The amplification factor observed was approximately 70.77, with memory usage reaching about 400 MiB from a relatively small input file (Github Issues).

Mitigation and workarounds

The vulnerability has been fixed in Expat version 2.7.2. The fix implements tracking and limiting of dynamic memory allocations, applying an approach similar to the existing protection against billion laughs attacks. Users are strongly recommended to upgrade to version 2.7.2 or later (Github PR).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-10729CRITICAL9.4
  • CBL MarinerCBL Mariner
  • qt6-qtsvg-devel
NoYesOct 03, 2025
CVE-2025-9900HIGH8.8
  • Rocky LinuxRocky Linux
  • libtiff
NoYesSep 23, 2025
CVE-2025-9648HIGH8.7
  • CBL MarinerCBL Mariner
  • civetweb
NoYesSep 29, 2025
CVE-2025-9230HIGH7.5
  • LibreSSLLibreSSL
  • libopenssl1_0_0-32bit
NoYesSep 30, 2025
CVE-2025-10823MEDIUM4.8
  • CBL MarinerCBL Mariner
  • fio
NoYesSep 23, 2025

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