Out-of-bounds Read 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
3.4% (87th 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-JS-LIBXMLJS-10557410
  • published27 Jun 2025
  • disclosed20 May 2016
  • creditUnknown

Introduced: 20 May 2016

CVE-2016-1839  (opens in a new tab)
CWE-125  (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 Out-of-bounds Read. The xmlDictAddString 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 (heap-based buffer over-read) via a crafted XML document.

References

CVSS Base Scores

version 3.1