CVE-2026-119443

NameCVE-2026-119443
DescriptionImproper 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
erlang (PTS)bookworm1:25.2.3+dfsg-1+deb12u4vulnerable
bookworm (security)1:25.2.3+dfsg-1+deb12u1vulnerable
trixie (security), trixie1:27.3.4.1+dfsg-1+deb13u4vulnerable
forky1:29.1.2+dfsg-1vulnerable
sid1:29.1.3+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
erlangsource(unstable)1:29.1.3+dfsg-1

Notes

https://github.com/erlang/otp/security/advisories/GHSA-j6vp-frc3-9g33
https://cna.erlef.org/cves/CVE-2026-119443.html
https://osv.dev/vulnerability/EEF-CVE-2026-119443
https://github.com/erlang/otp/commit/4d5dc15b3ba923ad9d939c560749239289ba41f3 (OTP-27.3.4.20)
https://github.com/erlang/otp/commit/6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d (OTP-29.1.3)

Search for package or bug name: Reporting problems