Out-of-Bounds Affecting libxml2 package, versions [,2.9.5)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.64% (80th 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-3004077
  • published26 Jan 2022
  • disclosed23 Nov 2017
  • creditUnknown

Introduced: 23 Nov 2017

CVE-2017-16931  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.9.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds parser.c in libxml2 before 2.9.5 mishandles parameter-entity references because the NEXTL macro calls the xmlParserHandlePEReference function in the case of a '%' character in a DTD name.

CVSS Scores

version 3.1