Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.9CVE-2026-119443

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

Erlang OTP

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-119443: medium-severity vulnerability (CVSS 6.9) in Erlang OTP.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.9.

Affected products and versions

Erlang OTP 1.3.7 (fixed in 2.1.3.4); Erlang OTP 1.3.7 (fixed in 2.1.9.1); Erlang OTP 1.3.7 (fixed in 2.2.1); Erlang OTP 17.0 (fixed in 27.3.4.20); Erlang OTP 17.0 (fixed in 28.5.0.9); Erlang OTP 17.0 (fixed in 29.1.3); Erlang OTP 84adefa331c4159d432d22840663c38f155cd4c1 (fixed in 4d5dc15b3ba923ad9d939c560749239289ba41f3); Erlang OTP 84adefa331c4159d432d22840663c38f155cd4c1 (fixed in 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d); Erlang OTP 4d5dc15b3ba923ad9d939c560749239289ba41f3 (fixed in 4d5dc15b3ba923ad9d939c560749239289ba41f3); Erlang OTP 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d (fixed in 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d)

ProductVersionsFixed in
Erlang OTP1.3.72.1.3.4
Erlang OTP1.3.72.1.9.1
Erlang OTP1.3.72.2.1
Erlang OTP17.027.3.4.20
Erlang OTP17.028.5.0.9
Erlang OTP17.029.1.3
Erlang OTP84adefa331c4159d432d22840663c38f155cd4c14d5dc15b3ba923ad9d939c560749239289ba41f3
Erlang OTP84adefa331c4159d432d22840663c38f155cd4c16723ad37c5ea8febb59b05e95f8d1343f2c2fb7d
Erlang OTP4d5dc15b3ba923ad9d939c560749239289ba41f34d5dc15b3ba923ad9d939c560749239289ba41f3
Erlang OTP6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d

Action recommended by the source

Upgrade to a fixed version: 2.1.3.4, 2.1.9.1, 2.2.1, 27.3.4.20, 28.5.0.9, 29.1.3, 4d5dc15b3ba923ad9d939c560749239289ba41f3, 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d.

Fixed in: 2.1.3.4, 2.1.9.1, 2.2.1, 27.3.4.20, 28.5.0.9, 29.1.3, 4d5dc15b3ba923ad9d939c560749239289ba41f3, 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-611

Relevant change history

  1. Published

    Preliminary advisory published.