CVE-2026-27942: naturalintelligence fast-xml-parser Classic Buffer Overflow
Vulnerability summary
CVE-2026-27942 is a high (CVSS 7.5) Classic Buffer Overflow vulnerability in naturalintelligence fast-xml-parser. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 51% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 26-02-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
Description
fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with `preserveOrder:true`. Version 5.3.8 fixes the issue. As a workaround, use XML builder with `preserveOrder:false` or check the input data before passing to builder.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- OSV · NpmEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UDiffers
- NVDNIST2.7LowCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
+0.19 pp
From 0.48% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard34 products
- airflow-2All versions (No fix recorded)
- airflow-core-2All versions (No fix recorded)
- dbgate< 7.1.2-r1
- dbgate-fips< 7.1.2-r0
- jitsucom-jitsu-console< 2.11.0-r16
Wolfi7 products
- jitsucom-jitsu-console< 2.11.0-r16
- kubeflow-pipelines-frontend< 2.16.0-r2
- opensearch-dashboards-3< 3.5.0-r3
- prism< 5.14.3-r8
- renovate< 43.48.3-r0
Debian1 product
- node-webfontAll versions (No fix recorded)
Naturalintelligence1 product
- fast-xml-parser< 5.3.8 | < 4.5.4 | ≥ 5.0.0, < 5.3.8
Npm1 product
- fast-xml-parser≥ 5.0.0, < 5.3.8 | ≥ 4.0.0-beta.0, < 4.5.4
Ubuntu1 product
- node-webfontAll versions (No fix recorded)
6 vendors · 45 products
References
9 links- github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3X Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- github.com/NaturalIntelligence/fast-xml-parser/pull/791X Refsource MISCREPORTFIXWEBIssue TrackingPatch
- github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8aX Refsource MISCREPORTFIXWEBPatch