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
5.01% (93rd 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-3004048
  • published26 Jan 2022
  • disclosed25 Sept 2016
  • creditUnknown

Introduced: 25 Sep 2016

CVE-2016-4658  (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 xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3, and other products) does not forbid namespace nodes in XPointer ranges, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and memory corruption) via a crafted XML document.

References

CVSS Scores

version 3.1