Denial of Service (DoS) Affecting libxml2 package, versions [,2.9.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
6.57% (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-3004047
  • published12 Jan 2022
  • disclosed16 May 2016
  • creditUnknown

Introduced: 16 May 2016

CVE-2015-6837  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade libxml2 to version 2.9.2 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). The xsl_ext_function_php function in ext/xsl/xsltprocessor.c in PHP before 5.4.45, 5.5.x before 5.5.29, and 5.6.x before 5.6.13, when libxml2 before 2.9.2 is used, does not consider the possibility of a NULL valuePop return value before proceeding with a free operation during initial error checking, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted XML document, a different vulnerability than CVE-2015-6838.

References

CVSS Base Scores

version 3.1