Skip to main content

Erlang/OTP EUVDEUVD-2026-134153

| CVE-2026-125658 MEDIUM
Use After Free (CWE-416)
2026-11-24 EEF
5.7
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Obtain local file-creation access on macOS Erlang host
  2. Delivery
    Create filesystem entry named with leading combining mark
  3. Exploit
    Victim Erlang process enumerates the directory or reads the symlink
  4. Execution
    Trigger use-after-free in do_utf8_to_list_normalize
  5. Impact
    Hang or abort the Erlang VM (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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 is limited to macOS: the VM must be decoding/normalizing file names (the default; disabled by the +fnl flag). The attacker must be able to create a filesystem entry (file, directory, or symlink) whose name begins with a Unicode combining mark such as U+0301, in a directory the Erlang VM will later process (PR:L - some ability to place such an entry is required). A victim Erlang process must then operate on it: file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1, or filelib:wildcard/1 on the containing directory causes a hang (and the VM ignores SIGTERM), while file:read_link/1 on a symlink with such a target aborts the VM. Limiting factors: non-macOS platforms are unaffected; starting the VM with +fnl (e.g. via ERL_FLAGS) prevents normalization and avoids the bug (at the cost of returning non-ASCII names byte-by-byte as Latin-1); impact is availability only, with no code execution, data disclosure, or integrity loss demonstrated.

Impact

This is a genuine but bounded availability-only issue, not a top-tier emergency. The CVSS 4.0 base score is 5.7 (Medium) with vector AV:L/AC:L/AT:P/PR:L/UI:N and impact confined to VA:H (VC:N/VI:N/VA:H) - no confidentiality or integrity loss, which matches the advisory's explicit statement that 'Only loss of availability was demonstrated.' Several signals push risk down: the vector is Local (AV:L), the flaw only manifests on macOS, exploitation requires the attacker to be able to create a filesystem entry (PR:L) AND requires a victim Erlang process to perform a directory/symlink operation (reflected in AT:P). No EPSS score, no CISA KEV listing, and no verified public exploit code were provided; the references are the vendor advisory, the OSV/CNA records, and the fix commits, not a weaponized PoC. The vendor's own priority label is 'this_month' (not act_now/emergency), consistent with a patch-on-normal-cycle posture. The one amplifier is deployment context: Erlang/OTP is widely used server software, but it is predominantly run on Linux/BSD in production, so the macOS-only constraint sharply narrows the real-world exposed population to macOS-based Erlang hosts (largely developer and CI machines). Net: a real, patch-worthy DoS for macOS Erlang deployments, but low widespread-exploitation risk given the local vector, authentication/file-write prerequisite, OS restriction, and absence of exploitation signals.

Exploit ScenarioDerived

On a macOS host running Erlang/OTP, an attacker who can create a file, directory, or symlink in a location the Erlang VM later scans gives it a name beginning with a Unicode combining mark (e.g. U+0301). When the application calls file:list_dir/1, filelib:wildcard/1, file:del_dir_r/1, or file:read_link/1 over that entry, a use-after-free in do_utf8_to_list_normalize causes the call to hang indefinitely (and the VM to ignore SIGTERM) or abort with 'size_object: bad tag'. No public exploit code was identified at time of analysis; the trigger is nonetheless precisely documented in the vendor advisory and fix commit.

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

A use-after-free in the Erlang/OTP runtime system (erts) on macOS corrupts the process heap when the VM decodes a file name that begins with a Unicode combining mark such as U+0301, causing file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 and filelib:wildcard/1 to hang indefinitely (the VM also ignores SIGTERM) and causing file:read_link/1 on a symlink with such a target to abort the VM with 'size_object: bad tag'. It affects OTP releases from 17.0 up to, but not including, 27.3.4.20, 28.5.0.9 and 29.1.3 (erts 6.0 up to 15.2.7.15, 16.4.0.8 and 17.1.2), and requires local access plus the ability to place a maliciously named filesystem entry in a directory the VM later inspects (CVSS 4.0 PR:L). Impact is availability only; no public exploit code has been identified at time of analysis and there is no confirmed active exploitation (CISA KEV), though the vendor has published patches and a documented workaround.

RemediationAI

Upgrade to a patched OTP release on the matching branch: OTP 27.3.4.20 (erts 15.2.7.15), OTP 28.5.0.9 (erts 16.4.0.8) or OTP 29.1.3 (erts 17.1.2) - vendor-released patches are available, with the upstream changes visible in commits 9622ab2132e2501ee5769357a914dcc6635e515c and 322b04488d9445c7258abce3e7f3bc79aa7c45d8 and details in advisory https://github.com/erlang/otp/security/advisories/GHSA-2pqq-qr2r-wgcc, the CNA page https://cna.erlef.org/cves/CVE-2026-125658.html and https://osv.dev/vulnerability/EEF-CVE-2026-125658. If an immediate upgrade is not possible on macOS hosts, the vendor-documented workaround is to start the VM with the +fnl flag (for example by setting it in ERL_FLAGS) so the VM does not decode or normalize file names; the trade-off is that file name functions then return each byte of a non-ASCII name as a separate Latin-1 character, changing application-visible results for such names. On non-macOS platforms the flaw does not trigger.

Affected VersionsENISA

otp 17.0 <*
otp 9622ab2132e2501ee5769357a914dcc6635e515c <322b04488d9445c7258abce3e7f3bc79aa7c45d8
otp 6.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 flaw is a CWE-416 use-after-free in erts/emulator/beam/erl_unicode.c, in the routine do_utf8_to_list_normalize that converts macOS file names from UTF-8 into Erlang lists while normalizing Unicode. macOS file systems hand back decomposed names, so a name whose first code point is a combining mark (for example U+0301 COMBINING ACUTE ACCENT) enters the normalization path. The helper cleanup_norm builds the leading list cells on the process heap but advances only its local heap pointer, never writing the advanced value back through the caller's hpp; the caller therefore frees/backs out the heap words that still hold those cells, and the returned list points at released process-heap memory that the next allocation overwrites. Downstream code then traverses a malformed term, which manifests as non-terminating directory listing or a hard VM abort depending on the BIF used. The upstream fix (commit 9622ab2132e2501ee5769357a914dcc6635e515c) restructures this normalization code, moves UTF-8 analysis into a shared erl_unicode_normalize component (erts_analyze_utf8 and ERTS_UTF8_* states) and exposes prim_file:internal_normalize_utf8/1, with a companion patch commit 322b04488d9445c7258abce3e7f3bc79aa7c45d8. The bug is platform-specific: it only triggers when the VM decodes and normalizes file names, which is the macOS default and is disabled by the +fnl emulator flag.

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.7 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local vector since attacker plants a file the VM reads and the victim must enumerate it (PR:L for file-creation ability); impact is availability only (A:H, C:N/I:N).

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

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

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

Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.

On macOS, the VM decodes file names with do_utf8_to_list_normalize in erts/emulator/beam/erl_unicode.c. When a name starts with a combining mark, such as U+0301, cleanup_norm builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 and filelib:wildcard/1 on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. file:read_link/1 on a symbolic link with such a target aborts the VM with size_object: bad tag. Only loss of availability was demonstrated.

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 erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 77% exploitable
Prevalence
Medium
Erlang/OTP is widely used server software, but macOS-only trigger limits exposed hosts
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
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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