# CVE-2026-83615: xmldom: Quadratic-memory consumption

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-01T14:44:05.884Z
- Modified: 2026-09-08T21:15:04.889Z
- Also known as: GHSA-965w-775f-mr7g
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

xmldom is a pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module. Prior to @xmldom/xmldom versions 0.8.15 and 0.9.12, and in xmldom versions 0.1.5 through 0.6.0, appendElement in lib/sax.js uses _copy to clone the complete currentNSMap for each nested element that declares a new namespace prefix. Keeping every ancestor map live on the parse stack creates quadratic peak namespace-map storage, so a small highly compressible XML document can exhaust the process heap before application validation. This issue is fixed in @xmldom/xmldom versions 0.8.15 and 0.9.12; no fixed version is available for xmldom.

(As written by CVE List.)

## Affected

- xmldom xmldom: >= 0.1.5, <= 0.6.0
- @xmldom xmldom: >= 0.7.0, < 0.8.15; >= 0.9.0, < 0.9.12
- @xmldom/xmldom (npm): from 0.7.0 before 0.8.15; from 0.9.0 before 0.9.12
- xmldom (npm): from 0.1.5 up to 0.6.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/xmldom/xmldom/security/advisories/GHSA-965w-775f-mr7g> (exploit, web)
- <https://github.com/xmldom/xmldom/pull/1071> (web)
- <https://github.com/xmldom/xmldom/pull/1072> (web)
- <https://github.com/xmldom/xmldom/commit/954370f58c046223faf95ba77efcbc8ce014409d> (web)
- <https://github.com/xmldom/xmldom/commit/dabffe884e864eeecb1f515c716f875e1bc47ec1> (web)
- <https://github.com/xmldom/xmldom/releases/tag/0.8.15> (web)
- <https://github.com/xmldom/xmldom/releases/tag/0.9.12> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-83615> (advisory)
- <https://github.com/xmldom/xmldom> (package)

## Sources

- CVE List: [CVE-2026-83615](https://www.cve.org/CVERecord?id=CVE-2026-83615), CVE Terms of Use, modified 2026-09-03
- GitHub Advisory Database: [GHSA-965w-775f-mr7g](https://github.com/advisories/GHSA-965w-775f-mr7g), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-83615](https://nvd.nist.gov/vuln/detail/CVE-2026-83615), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-83615 · Whole record: https://cve.day/CVE-2026-83615.json · Rebuilt by cve.day 2026-11-25T22:59:35.969Z
