CVE-2026-125658
Published:November 24, 2026
Updated:November 29, 2026
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.
Affected Packages
https://github.com/erlang/otp.git (GITHUB):
Affected version(s) >=OTP-29.0-rc1 <OTP-29.1.3Fix Suggestion:
Update to version OTP-29.1.3https://github.com/erlang/otp.git (GITHUB):
Affected version(s) >=OTP-28.0-rc1 <OTP-28.5.0.9Fix Suggestion:
Update to version OTP-28.5.0.9https://github.com/erlang/otp.git (GITHUB):
Affected version(s) >=OTP_R14B01 <OTP-27.3.4.20 || >=OTP_R15B01 <OTP-27.3.4.20 || >=OTP_R16B01_RC1 <OTP-27.3.4.20 || >=OTP_17.0-rc1 <OTP-27.3.4.20 || >=OTP-17.0 <OTP-27.3.4.20 || >=OTP-18.0-rc1 <OTP-27.3.4.20 || >=OTP-19.0-rc1 <OTP-27.3.4.20 || >=OTP-20.0-rc1 <OTP-27.3.4.20 || >=OTP-21.0-rc1 <OTP-27.3.4.20 || >=OTP-22.0-rc1 <OTP-27.3.4.20 || >=OTP-23.0-rc1 <OTP-27.3.4.20 || >=OTP-24.0-rc1 <OTP-27.3.4.20 || >=OTP-25.0-rc1 <OTP-27.3.4.20 || >=OTP-26.0-rc1 <OTP-27.3.4.20 || >=OTP-27.0-rc1 <OTP-27.3.4.20Fix Suggestion:
Update to version OTP-27.3.4.20Related ResourcesĀ (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.7
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
CVSS v3
Base Score:
5.5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Use After Free
EPSS
Base Score:
0.37