Integer Overflow or Wraparound Affecting libxml2 package, versions [,2.10.3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.47% (76th 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-LIBXML2-3057640
  • published20 Oct 2022
  • disclosed14 Oct 2022
  • creditMaddie Stone

Introduced: 14 Oct 2022

CVE-2022-40303  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.10.3 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via XML_PARSE_HUGE due to missing length checks.

CVSS Scores

version 3.1