{
  "id": "CVE-2026-27942",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-27942",
  "published_at": "2026-02-26T01:22:11.383Z",
  "title": "fast-xml-parser has stack overflow in XMLBuilder with preserveOrder",
  "vendor": "NaturalIntelligence",
  "product": "fast-xml-parser",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-120",
  "cpes": [
    "cpe:2.3:a:naturalintelligence:fast-xml-parser:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 2.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "NaturalIntelligence",
        "product": "fast-xml-parser",
        "ranges": [
          "\u003c 5.3.8"
        ],
        "fixed_in": [
          "5.3.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade fast-xml-parser to 5.3.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/NaturalIntelligence/fast-xml-parser/pull/791"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
