Use After Free Affecting libxmljs package, versions >=0.8.0 <1.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.47% (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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LIBXMLJS-10557440
  • published27 Jun 2025
  • disclosed20 May 2016
  • creditUnknown

Introduced: 20 May 2016

CVE-2016-1836  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libxmljs to version 1.0.0 or higher.

Overview

libxmljs is a libxml bindings for v8 javascript engine

Affected versions of this package are vulnerable to Use After Free. Use-after-free vulnerability in the xmlDictComputeFastKey function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS before 2.2.1, allows remote attackers to cause a denial of service via a crafted XML document.

References

CVSS Base Scores

version 3.1