Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-119443
Published:November 24, 2026
Updated:November 29, 2026
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.
Affected Packages
https://github.com/erlang/otp.git (GITHUB):
Affected version(s) >=OTP-28.0-rc1 <OTP-28.5.0.9
Fix Suggestion:
Update to version OTP-28.5.0.9
https://github.com/erlang/otp.git (GITHUB):
Affected version(s) >=OTP-29.0-rc1 <OTP-29.1.3
Fix Suggestion:
Update to version OTP-29.1.3
https://github.com/erlang/otp.git (GITHUB):
Affected version(s) >=OTP_R13B03 <OTP-27.3.4.20 || >=OTP_R14B01 <OTP-27.3.4.20 || >=OTP_R15B01 <OTP-27.3.4.20 || >=OTP_R16B01_RC1 <OTP-27.3.4.20 || >=OTP_17.0-rc1 <OTP-27.3.4.20 || >=OTP-17.0 <OTP-27.3.4.20 || >=OTP-18.0-rc1 <OTP-27.3.4.20 || >=OTP-19.0-rc1 <OTP-27.3.4.20 || >=OTP-20.0-rc1 <OTP-27.3.4.20 || >=OTP-21.0-rc1 <OTP-27.3.4.20 || >=OTP-22.0-rc1 <OTP-27.3.4.20 || >=OTP-23.0-rc1 <OTP-27.3.4.20 || >=OTP-24.0-rc1 <OTP-27.3.4.20 || >=OTP-25.0-rc1 <OTP-27.3.4.20 || >=OTP-26.0-rc1 <OTP-27.3.4.20 || >=OTP-27.0-rc1 <OTP-27.3.4.20
Fix Suggestion:
Update to version OTP-27.3.4.20
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.2
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Improper Restriction of XML External Entity Reference
EPSS
Base Score:
0.25