PT-2026-157792
CVE-2026-119443
·
Published
2026-11-24
·
Updated
2026-11-24
Description by
CVSS 4.0
6.9
MediumMetricsAV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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 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 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.
Found an issue in the description? Have something to add? Feel free to write us 👾