CVE-2026-119443
published medium CVSS 4.0 · 6.9XML Scan Untrusted DTD Which May Result in out of Memory Crash
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Erlang | — | xmerlOTP · 1.3.7 and later (affected · otp); changes: unaffected at 2.1.3.4, unaffected at 2.1.9.1, unaffected at 2.2.1 · Other versions: unknown | Version-specific | Not stated | EEF |
| Erlang | — | otpOTP · 17.0 and later (affected · otp); changes: unaffected at 27.3.4.20, unaffected at 28.5.0.9, unaffected at 29.1.3 · Other versions: unknown | Version-specific | Not stated | EEF |
| Erlang | — | erlang/otpOTP · 84adefa331c4159d432d22840663c38f155cd4c1 and later (affected · git); changes: unaffected at 4d5dc15b3ba923ad9d939c560749239289ba41f3, unaffected at 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d · 4d5dc15b3ba923ad9d939c560749239289ba41f3 and later (unaffected · git) · 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d and later (unaffected · git) · Other versions: unknown | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Erlang | OTP | 1.3.7 and later (affected · otp); changes: unaffected at 2.1.3.4, unaffected at 2.1.9.1, unaffected at 2.2.1Default: unknown | EEF · cna |
| Erlang | OTP | 17.0 and later (affected · otp); changes: unaffected at 27.3.4.20, unaffected at 28.5.0.9, unaffected at 29.1.3Default: unknown | EEF · cna |
| Erlang | OTP | 84adefa331c4159d432d22840663c38f155cd4c1 and later (affected · git); changes: unaffected at 4d5dc15b3ba923ad9d939c560749239289ba41f3, unaffected at 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d4d5dc15b3ba923ad9d939c560749239289ba41f3 and later (unaffected · git)6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d and later (unaffected · git)Default: unknown | EEF · cna |
Weaknesses
1- CWE-611 CWE-611 Improper Restriction of XML External Entity Reference
References
6- EEF CNA record for CVE-2026-119443 https://cna.erlef.org/cves/CVE-2026-119443.html
- Fix commit 4d5dc15 in erlang/otp https://github.com/erlang/otp/commit/4d5dc15b3ba923ad9d939c560749239289ba41f3
- Fix commit 6723ad3 in erlang/otp https://github.com/erlang/otp/commit/6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d
- XML Scan Untrusted DTD Which May Result in out of Memory Crash https://github.com/erlang/otp/security/advisories/GHSA-j6vp-frc3-9g33
- OSV record EEF-CVE-2026-119443 https://osv.dev/vulnerability/EEF-CVE-2026-119443
- Erlang/OTP version ordering https://www.erlang.org/doc/system/versions.html#order-of-versions
Provider assertions
2EEF · cna
XML Scan Untrusted DTD Which May Result in out of Memory Crash
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c4736ea1dd15230257e6c1ab5a94c575d08699b9046367b83222c58e66bee220
- Ingested
- 01 Dec 2026, 16:54:56 UTC
- Source record
- Official CVE record