{"id":"UBUNTU-CVE-2026-27942","details":"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.","modified":"2026-04-27T19:55:18.492355Z","published":"2026-02-26T02:16:00Z","upstream":["CVE-2026-27942"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-27942"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-27942"},{"type":"REPORT","url":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3"},{"type":"REPORT","url":"https://github.com/NaturalIntelligence/fast-xml-parser/pull/791"},{"type":"REPORT","url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a"}],"affected":[{"package":{"name":"node-webfont","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-webfont@11.4.0+dfsg2+~cs35.7.26-7ubuntu1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["11.4.0+dfsg2+~cs35.7.26-7ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-webfont","binary_version":"11.4.0+dfsg2+~cs35.7.26-7ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27942.json"}},{"package":{"name":"node-webfont","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/node-webfont@11.4.0+dfsg2+~cs35.7.26-13ubuntu2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["11.4.0+dfsg2+~cs35.7.26-10","11.4.0+dfsg2+~cs35.7.26-13ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"node-webfont","binary_version":"11.4.0+dfsg2+~cs35.7.26-13ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27942.json"}},{"package":{"name":"node-webfont","ecosystem":"Ubuntu:26.04","purl":"pkg:deb/ubuntu/node-webfont@11.4.0+dfsg2+~cs35.7.26-18?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["11.4.0+dfsg2+~cs35.7.26-13ubuntu2","11.4.0+dfsg2+~cs35.7.26-14","11.4.0+dfsg2+~cs35.7.26-15","11.4.0+dfsg2+~cs35.7.26-16build1","11.4.0+dfsg2+~cs35.7.26-18"],"ecosystem_specific":{"binaries":[{"binary_name":"node-webfont","binary_version":"11.4.0+dfsg2+~cs35.7.26-18"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27942.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS: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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}