# CVE-2026-119443: XML Scan Untrusted DTD Which May Result in out of Memory Crash

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-28)
- **CWE:** CWE-611
- **Published:** 2026-11-24T15:02:12.313Z
- **Modified:** 2026-11-24T19:12:16.707Z

## Who should check

- Anyone running Erlang OTP \>= 1.3.7, \< \*
- Anyone running Erlang OTP \>= 17.0, \< \*
- Anyone running Erlang OTP \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< \*

## Description

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 and fixed versions

- Erlang OTP: \>= 1.3.7, \< \* (cvelist)
- Erlang OTP: \>= 17.0, \< \* (cvelist)
- Erlang OTP: \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< \* (cvelist)

## Mitigation

- Vendor workaround: Pass a fetch\_fun that refuses external resources in the option list of xmerl\_scan:string/2 or xmerl\_scan:file/2, for example {fetch\_fun, fun(\_ExtSpec, State) -\> {ok, not\_fetched, State} end}. The scanner then continues without reading or parsing the external DTD.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-119443. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-119443.md
Affected: Erlang OTP >= 1.3.7, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1, < *
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-119443 being exploited?

There is no confirmed exploitation: CVE-2026-119443 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-119443?

Medium: CVSS 6.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-119443?

Erlang OTP \>= 1.3.7, \< \*; Erlang OTP \>= 17.0, \< \*; Erlang OTP \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< \*.

### Is there a fix for CVE-2026-119443?

No fixed version is listed in the sources yet. Vendor workaround: Pass a fetch\_fun that refuses external resources in the option list of xmerl\_scan:string/2 or xmerl\_scan:file/2, for example {fetch\_fun, fun(\_ExtSpec, State) -\> {ok, not\_fetched, State} end}. The scanner then continues without reading or parsing the external DTD.

### How do I check if I'm affected by CVE-2026-119443?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/erlang/otp/security/advisories/GHSA-j6vp-frc3-9g33>
- patch: <https://github.com/erlang/otp/commit/4d5dc15b3ba923ad9d939c560749239289ba41f3>
- patch: <https://github.com/erlang/otp/commit/6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d>
- other: <https://cna.erlef.org/cves/CVE-2026-119443.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-119443>
- other: <https://www.erlang.org/doc/system/versions.html#order-of-versions>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-119443>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-119443> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-119443>
