Buffer Overflow Affecting expat package, versions [,2.4.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
7.9% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-EXPAT-10075666
  • published8 May 2025
  • disclosed18 Feb 2022
  • creditUnknown

Introduced: 18 Feb 2022

CVE-2022-25315  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade expat to version 2.4.5 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow by abusing the m_buffer expansion logic which causes integer overflow in storeRawNames.

CVSS Base Scores

version 3.1