Use after free in erts file name normalization on macOS
CVE-2026-125658Published 24 Nov 2026, 15:28 UTC
Real-world risk
0.9/ 10Low
Routine
If the vulnerable configuration applies to you: 1.9
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Erlang/OTPWidespread | >= 6.0, < *; >= 17.0, < * | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
EPSS 0.4% chance of exploitation in 30 days (percentile 33), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.225 × threat 0.950.855
- Rounded to one decimal between 0.1 and 100.9
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.9 (cvss fallback)
Weakness
CWE-416
References
- https://github.com/erlang/otp/security/advisories/GHSA-2pqq-qr2r-wgccrelated, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-125658.htmlexploit, related
- https://osv.dev/vulnerability/EEF-CVE-2026-125658exploit, related
- https://www.erlang.org/doc/system/versions.html#order-of-versionsx-version-scheme
- https://github.com/erlang/otp/commit/9622ab2132e2501ee5769357a914dcc6635e515crelated
- https://github.com/erlang/otp/commit/322b04488d9445c7258abce3e7f3bc79aa7c45d8patch
- CVE-2026-125658 on CVE.org