Buffer Overflow Affecting org.mvnpm:fast-xml-parser package, versions [,4.5.5)[5.0.9,5.3.9)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (47th 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-JAVA-ORGMVNPM-22733716
  • published23 Nov 2026
  • disclosed26 Feb 2026
  • creditUnknown

Introduced: 26 Feb 2026

CVE-2026-27942  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade org.mvnpm:fast-xml-parser to version 4.5.5, 5.3.9 or higher.

Overview

org.mvnpm:fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries

Affected versions of this package are vulnerable to Buffer Overflow via the XMLBuilder when preserveOrder:true is set. An attacker can cause the application to crash by providing specially crafted input data.

Workaround

This vulnerability can be mitigated by using preserveOrder:false or by validating input data before passing it to the builder.

CVSS Base Scores

version 4.0
version 3.1