Read the docs

XML external DTD fetch in Erlang OTP xmerl exhausts memory

Priority LOW 30CWE-611Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 fixed, 4 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-611 and the CVSS impact.

Summary

Erlang OTP xmerl from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9 and OTP 29.1.3 is affected. With default options, the xmerl_scan parser fetches the external DTD named in a DOCTYPE declaration, which is improper restriction of XML external entity references (CWE-611). A local attacker with no privileges can make the Erlang VM read a file without bound until the operating system kills it for lack of memory.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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 now

EPSS 0.00254 10th percentileScored 2026-11-30
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ErlangOTP1.3.7 and later—No fix listedCNA
ErlangOTP17.0 and later—No fix listedCNA
  • OTP VendorErlang Affected 1.3.7 and later Fixed in — No fix listed CNA
  • OTP VendorErlang Affected 17.0 and later Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*——Erlang
  • cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* Versions — — ·Erlang

Remediation

The source description places the fix at OTP 27.3.4.20, OTP 28.5.0.9 and OTP 29.1.3, and xmerl 2.1.3.4, 2.1.9.1 and 2.2.1. Red Hat fixes Red Hat Hardened Images in RHSA-2026:103406. Red Hat has no fix plan available for Red Hat OpenStack Platform 13 (Queens), 16.2, 17.1 and 18.0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Red Hat 1 advisory

  • RHSA-2026:103406 Released 2026-11-24 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images erlang27-27.3.4.20-0.1.hum1@aarch64, erlang27-27.3.4.20-0.1.hum1@s390x, erlang27-27.3.4.20-0.1.hum1@src +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.2AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:103406

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-119443
  2. 2026-11-25 Affected versions changed · Red Hat
  3. 2026-11-25 CVSS score added · Red Hat
  4. 2026-11-26 Fix available: RHSA-2026:103406 · Red Hat
  5. 2026-11-26 Fix available: Red Hat Hardened Images · Red Hat
  6. 2026-11-27 Affected versions changed · Red Hat

References

  • TI-2025-23504 Unauthenticated remote code execution in Erlang/OTP SSH server KEVCVSS 3.1CRITICAL 10.0
  • TI-2026-48954 httpd parks a request worker indefinitely on a malformed chunk size sent after the headers CVSS 4.0HIGH 8.7
  • TI-2026-71037 Path traversal in rebar3 via unvalidated dependency app names CVSS 4.0HIGH 7.5
  • TI-2026-97472 Register cache flaw in Erlang OTP AArch64 JIT enables VM crash CVSS 4.0MEDIUM 5.9
  • TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
  • TI-2026-97473 Use after free in Erlang/OTP erts file name normalization on macOS CVSS 4.0MEDIUM 5.7
See all 90 →

Sources