Buffer Overflow Affecting libexpat/libexpat package, versions [,2.4.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
1.02% (84th 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-UNMANAGED-LIBEXPATLIBEXPAT-2404807
  • published18 Feb 2022
  • 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 libexpat/libexpat 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 Scores

version 3.1