{"id":"CVE-2026-119443","summary":"XML Scan Untrusted DTD Which May Result in out of Memory Crash","details":"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.\n\nWith default options, xmerl_scan:string/1,2 and xmerl_scan:file/1,2 fetch and parse the external DTD named in a \u003c!DOCTYPE root SYSTEM \"...\"\u003e 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 \u003c!ENTITY\u003e 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.\n\nThis 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.","aliases":["EEF-CVE-2026-119443","GHSA-j6vp-frc3-9g33"],"modified":"2026-11-24T17:00:10.897859935Z","published":"2026-11-24T15:02:12.313Z","database_specific":{"cna_assigner":"EEF","cwe_ids":["CWE-611"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119443.json","unresolved_ranges":[{"extracted_events":[{"strategy":"ChangesAt","range":[{"introduced":"1.3.7"},{"fixed":"2.1.3.4"},{"introduced":"17.0"},{"fixed":"27.3.4.20"}],"source":"AFFECTED_FIELD"}]}]},"references":[{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-119443.html"},{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119443.json"},{"type":"PACKAGE","url":"https://github.com/erlang/otp"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/4d5dc15b3ba923ad9d939c560749239289ba41f3"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d"},{"type":"ADVISORY","url":"https://github.com/erlang/otp/security/advisories/GHSA-j6vp-frc3-9g33"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119443"},{"type":"WEB","url":"https://osv.dev/vulnerability/EEF-CVE-2026-119443"},{"type":"WEB","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlang/otp","events":[{"introduced":"84adefa331c4159d432d22840663c38f155cd4c1"},{"fixed":"4d5dc15b3ba923ad9d939c560749239289ba41f3"},{"fixed":"6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d"}],"database_specific":{"extracted_events":[{"strategy":"ChangesAt","range":[{"introduced":"84adefa331c4159d432d22840663c38f155cd4c1"},{"fixed":"4d5dc15b3ba923ad9d939c560749239289ba41f3"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"4d5dc15b3ba923ad9d939c560749239289ba41f3"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["patch-base-27","OTP-27.3.4","OTP-29.1.2","OTP-29.1.1","OTP-29.0","OTP-29.1","OTP-27.0","OTP-29.0-rc3","OTP-28.0","OTP-29.0-rc2","OTP-29.0-rc1","OTP-27.3","OTP-27.3.3","OTP-26.0","OTP-25.0","OTP-28.0-rc4","OTP-27.3.2","OTP-28.0-rc3","OTP-27.2","OTP-28.0-rc2","OTP-27.3.1","OTP-28.0-rc1","OTP-27.1","OTP-27.0-rc3","OTP-27.0-rc2","OTP-27.0-rc1","OTP-24.0","OTP-26.0-rc3","OTP-26.0-rc2","OTP-26.0-rc1","OTP-23.0","OTP-21.0","OTP-25.0-rc3","OTP-25.0-rc2","OTP-25.0-rc1","OTP-22.0","OTP-24.0-rc3","OTP-24.0-rc2","OTP-24.0-rc1","OTP-23.0-rc3","OTP-23.0-rc2","OTP-23.0-rc1","OTP-20.0","OTP-22.0-rc3","OTP-22.0-rc2","OTP-22.0-rc1","OTP-19.0","OTP-21.0-rc2","OTP-18.0","OTP-21.0-rc1","OTP-17.0","OTP-20.0-rc2","OTP-20.0-rc1","OTP-19.0-rc2","OTP-19.0-rc1","OTP_R16B","OTP-18.0-rc1","OTP_17.0-rc2","OTP_17.0-rc1","OTP_R13B03","OTP_R16A_RELEASE_CANDIDATE","OTP_R14B03","OTP_R15B","OTP_R15A","OTP_R14B02","OTP_R14B01","OTP_R14B","OTP_R13B04","OTP_R14A"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-119443.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}