Skip to main content

Erlang OTP EUVDEUVD-2026-134154

| CVE-2026-115747 MEDIUM
Buffer Overflow (CWE-119)
2026-11-24 EEF
5.9
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted XML with oversized numeric character reference
  2. Delivery
    Value reaches chained is_ge_lt range guard as a non-small integer
  3. Exploit
    is_ge_lt_shared clobbers cached registers on AArch64 JIT
  4. Execution
    Stale register later used as Erlang term
  5. Impact
    BEAM VM segfaults (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires ALL of: (1) an AArch64 (ARM64) runtime running the JIT, i.e. erlang:system_info(emu_flavor) returns 'jit' - x86-64 JIT, interpreter 'emu' builds, and 32-bit platforms are NOT affected; (2) an application that passes attacker-controlled input to code compiling to a chained integer range guard (emit_is_ge_lt), the demonstrated path being untrusted XML handed to xmerl_sax_parser; and (3) a compared value that is a non-small (bignum) integer so it takes the is_ge_lt_shared fragment, e.g. an oversized numeric character reference like �. Limiting factors: no special privileges or user interaction are needed (PR:N/UI:N), but the AArch64-JIT build requirement and the need for the application to route untrusted data to the vulnerable guard substantially narrow the exposed population. Per the vendor, the only complete fix is upgrading to a patched version; the sole workaround is running the emulator without the JIT (erl -emu_flavor emu, or build with --disable-jit).

Impact

This is an availability-only denial-of-service (BEAM VM crash) with no confidentiality or integrity impact, scored CVSS 5.9 (medium). The vendor CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H) treats delivery as local and attack-requirement-gated, reflecting that an application must route attacker-controlled data to the vulnerable guard. However, the demonstrated path is XML passed to xmerl_sax_parser, and Erlang services that parse untrusted XML received over the network would make this network-reachable - so the vendor's AV:L is conservative; realistic exposure can be remote (verify against your own deployment). The flaw is further gated: only AArch64 (ARM64) builds running the JIT (emu_flavor=jit) are affected, and the triggering value must be a non-small (bignum) integer that takes the is_ge_lt_shared path. No CISA KEV listing is present and no EPSS score was provided, so automated-exploitation probability cannot be quantified from the input; no public exploit code is identified, though the advisory discloses the exact trigger string. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a patchable, availability-only issue with a clear workaround. Net: a real but bounded priority - worth patching on a normal monthly cadence, not an emergency, and materially lower risk on non-AArch64 or interpreter builds. Missing signals: no EPSS and no KEV in the input.

Exploit ScenarioDerived

An application running on an AArch64/ARM64 node with the JIT enabled exposes XML parsing via xmerl_sax_parser to untrusted input; an attacker submits XML containing an oversized numeric character reference such as �, which reaches the faulty chained range guard and crashes the entire BEAM VM, taking down all Erlang processes on that node. No public exploit code is identified, though the GHSA advisory discloses the exact triggering input. Impact is availability-only (service outage), with no code execution or data exposure.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 24, 2026

Erlang/OTP releases whose AArch64 (ARM64) runtimes execute the JIT can have the entire BEAM virtual machine crashed by crafted input that reaches a chained integer range guard, producing an availability-only denial of service with no confidentiality or integrity impact (CVSS 5.9, medium). The demonstrated path is untrusted XML handed to xmerl_sax_parser, where an oversized numeric character reference such as � drives a non-small-integer comparison into the shared is_ge_lt fragment; exploitation is unauthenticated but requires a JIT-enabled ARM64 build plus an application that routes attacker-controlled data into code compiling to emit_is_ge_lt, and x86-64 JIT, interpreter (emu) and 32-bit builds are not affected. Fixed versions are OTP 27.3.4.20, 28.5.0.9 and 29.1.3 (erts 15.2.7.15, 16.4.0.8, 17.1.2); no public exploit code was identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to OTP 27.3.4.20, 28.5.0.9 or 29.1.3 (erts 15.2.7.15, 16.4.0.8 or 17.1.2), as documented in the GitHub advisory GHSA-x527-4ww5-wwr5 and the CNA record at https://cna.erlef.org/cves/CVE-2026-115747.html, with the corrective changes visible in commits 06d402a75078150963b75518ce271582bbb94897, 043d119950d8de1975a8a507e424d87cf765fbab, 62c26d132760569a2ac098ce144de2aed4daa548 and 841017c3c85cba30181e7e344e5b16dc0bc25c3b; per the vendor, upgrading is the only complete fix. The sole documented workaround applies only to AArch64 hosts: run the emulator without the JIT by starting it with erl -emu_flavor emu where the interpreter flavor is installed, or build OTP with --disable-jit, accepting the throughput cost of losing the JIT until the node can be upgraded. Environmental scoping also reduces exposure: x86-64 JIT, interpreter and 32-bit deployments do not contain the faulty code, and applications that never route untrusted input into a chained integer range guard, such as untrusted XML passed to xmerl_sax_parser, cannot reach the demonstrated path.

Affected VersionsENISA

otp 06d402a75078150963b75518ce271582bbb94897 <*
otp 15.0 <*
otp 27.0 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The defect sits in the AArch64 backend of the OTP JIT, in erts/emulator/beam/jit/arm/instr_common.cpp: BeamModuleAssembler::emit_is_ge_lt wraps its generated code in preserve_cache and declares only TMP1 as clobbered, yet when the compared value is not a small integer the generated code branches into the shared fragment is_ge_lt_shared, which also overwrites ARG1 and other caller-saved registers. Because the register cache retains stale memory-to-register entries after that call, a later instruction can treat a clobbered register as an Erlang term and the emulator terminates with a segmentation fault. Classified under CWE-119 (improper restriction of operations within the bounds of a memory buffer), the root cause is really cache-invalidation correctness in emitted ARM code rather than a classic out-of-bounds access. The upstream fix (commit 06d402a75078150963b75518ce271582bbb94897) replaces the old two-slot last_destination tracking with a RegisterCache<16, arm::Mem, a64::Gp> that invalidates clobbered registers and re-validates on offset, with further corrective commits 043d119950d8de1975a8a507e424d87cf765fbab, 62c26d132760569a2ac098ce144de2aed4daa548 and 841017c3c85cba30181e7e344e5b16dc0bc25c3b. Only AArch64 nodes where erlang:system_info(emu_flavor) returns jit run the faulty generated code; the trigger outside the xmerl_sax_parser ?is_char example is not further described in the available sources.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 5.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

XML parsed from network gives AV:N; AArch64-JIT build plus required non-small-integer trigger raise AC:H; PR:N unauthenticated; VM crash is availability-only (A:H).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 6.2 MEDIUM

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
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

DescriptionCVE.org

Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by xmerl_sax_parser.

In erts/emulator/beam/jit/arm/instr_common.cpp, BeamModuleAssembler::emit_is_ge_lt wraps its generated code in preserve_cache and marks only TMP1 as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment is_ge_lt_shared, which also overwrites ARG1 and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as &#576460752303423488; takes this path in the ?is_char guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.

This issue affects OTP from OTP 27.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 73% exploitable
Prevalence
High
Widely deployed runtime (RabbitMQ, Elixir/Phoenix); only AArch64 JIT builds affected
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-89422 CRITICAL
9.3 Sep 22

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy