Buffer Overflow Affecting libxmljs package, versions >=0.8.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (28th 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-10557393
  • published27 Jun 2025
  • disclosed29 Aug 2023
  • creditUnknown

Introduced: 29 Aug 2023

CVE-2023-39615  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

There is no fixed version for libxmljs.

Overview

libxmljs is a libxml bindings for v8 javascript engine

Affected versions of this package are vulnerable to Buffer Overflow via the xmlSAX2StartElement() function at /libxml2/SAX2.c, which allows attackers to exploit this vulnerability by supplying a crafted XML file.

CVSS Base Scores

version 3.1