# CVE-2026-119443: XML Scan Untrusted DTD Which May Result in out of Memory Crash

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/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.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-11-24T15:02:12.313Z
- Modified: 2026-12-01T17:17:19.813Z
- Also known as: EEF-CVE-2026-119443, GHSA-j6vp-frc3-9g33
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EEF

## Description

Improper Restriction of XML External Entity Reference vulnerability in xmerl_scan in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD.

With default options, xmerl_scan:string/1,2 and xmerl_scan:file/1,2 fetch and parse the external DTD named in a <!DOCTYPE root SYSTEM "..."> declaration. fetch_DTD/2 in lib/xmerl/src/xmerl_scan.erl passes every system identifier to the default fetch function, which maps file: and absolute URIs to local paths, and int_file_decl/3 then reads the whole file with file:read_file/1. This happens whether or not validation is enabled, and the allow_entities option, which is false by default since OTP 27, only governs <!ENTITY> declarations and does not stop the fetch. A document naming file:///dev/zero makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP 17.0, corresponding to xmerl before 1.3.7, is affected is unknown.

(As written by CVE List.)

## Affected

- xmerl: from 1.3.7 before *
- otp: from 17.0 before *
- erlang/otp: from 84adefa331c4159d432d22840663c38f155cd4c1 before * (not affected: from 4d5dc15b3ba923ad9d939c560749239289ba41f3 before *; from 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d before *)
- https://github.com/erlang/otp: from 84adefa331c4159d432d22840663c38f155cd4c1 before 4d5dc15b3ba923ad9d939c560749239289ba41f3; before 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d

## Every score

- EEF: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-j6vp-frc3-9g33> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-119443.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-119443> (related)
- <https://www.erlang.org/doc/system/versions.html#order-of-versions> (web)
- <https://github.com/erlang/otp/commit/4d5dc15b3ba923ad9d939c560749239289ba41f3> (fix, patch)
- <https://github.com/erlang/otp/commit/6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d> (fix, patch)

## Sources

- CVE List: [CVE-2026-119443](https://www.cve.org/CVERecord?id=CVE-2026-119443), CVE Terms of Use, modified 2026-12-01
- Erlang Ecosystem Foundation: [EEF-CVE-2026-119443](https://osv.dev/vulnerability/EEF-CVE-2026-119443), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-119443](https://nvd.nist.gov/vuln/detail/CVE-2026-119443), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-119443 · Whole record: https://cve.day/CVE-2026-119443.json · Rebuilt by cve.day 2026-12-01T17:32:13.354Z
