Erlang OTP xmerl_scan XXE Memory Exhaustion before OTP 27.3.4.20
CVE-2026-119443 Published on November 24, 2026
XML Scan Untrusted DTD Which May Result in out of Memory Crash
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.
Vulnerability Analysis
CVE-2026-119443 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
What is a XXE Vulnerability?
The software processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
CVE-2026-119443 has been classified to as a XXE vulnerability or weakness.
Products Associated with CVE-2026-119443
Want to know whenever a new CVE is published for Erlangotp? stack.watch will email you.
Affected Versions
Erlang OTP:- Version 1.3.7 and below * is affected.
- Version 17.0 and below * is affected.
- Version 84adefa331c4159d432d22840663c38f155cd4c1 and below * is affected.
- Version 4d5dc15b3ba923ad9d939c560749239289ba41f3 and below * is unaffected.
- Version 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.