Use after free in Erlang/OTP erts file name normalization on macOS
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- 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-416 and the CVSS impact.
Summary
Erlang/OTP erts from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3 is affected on macOS, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. A use after free (CWE-416) occurs when the VM decodes a file name that starts with a combining mark, because it releases heap memory that a returned list still refers to. An attacker who can create a file system entry with a chosen name can hang or abort the Erlang VM, and only loss of availability was demonstrated.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade to OTP 27.3.4.20, OTP 28.5.0.9, or OTP 29.1.3, or to erts 15.2.7.15, 16.4.0.8, or 17.1.2. Red Hat fixes Red Hat Hardened Images in RHSA-2026:103406. Red Hat lists Red Hat OpenStack Platform 13 (Queens), 16.2, 17.1, and 18.0 as affected without a fix.
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 ImportantRed 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenStack Platform 13 (Queens) | Affected | — |
| Red Hat OpenStack Platform 16.2 | Affected | — |
| Red Hat OpenStack Platform 17.1 | Affected | — |
| Red Hat OpenStack Platform 18.0 | Affected | — |
| Red Hat Hardened Images | Fixed | RHSA-2026:103406 |
Timeline
- 2026-11-24 Threatist record created from CVE-2026-125658
- 2026-11-24 CISA SSVC decision points changed
- 2026-11-25 Affected versions changed · Red Hat
- 2026-11-25 CVSS score added · Red Hat
- 2026-11-26 Fix available: RHSA-2026:103406 · Red Hat
- 2026-11-26 Fix available: Red Hat Hardened Images · Red Hat
- 2026-11-27 Affected versions changed · Red Hat
References
More Erlang vulnerabilities
- 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-2024-36042 ssl fails to validate incorrect extened key usage CVSS 3.1MEDIUM 5.5
Sources
- CVE-2026-125658 · CVE Program
- CVE-2026-125658 · NVD
- FIRST EPSS
- CVE-2026-125658 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences