Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local file-creation access on macOS Erlang host
-
DeliveryCreate filesystem entry named with leading combining mark
-
ExploitVictim Erlang process enumerates the directory or reads the symlink
-
ExecutionTrigger use-after-free in do_utf8_to_list_normalize
-
ImpactHang 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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).
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling
The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat
Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje
A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV
An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
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
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
RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b
Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers
TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged
EUVD-2026-134153
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB