PT-2026-157952
CVE-2026-125658
·
Published
2026-11-24
·
Updated
2026-11-24
Description by
CVSS 4.0
5.7
MediumMetricsAV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions
Erlang/OTP versions 17.0 through 27.3.4.19
Erlang/OTP versions 28.0 through 28.5.0.8
Erlang/OTP versions 29.0 through 29.1.2
erts versions 6.0 through 15.2.7.14
erts versions 16.0 through 16.4.0.7
erts versions 17.0 through 17.1.1
Description
A Use After Free issue in Erlang/OTP erts on macOS allows an attacker who can create a file system entry with a chosen name to cause the Erlang VM to hang or abort. The issue occurs during file name decoding using the
do utf8 to list normalize function in erts/emulator/beam/erl unicode.c. When a file name starts with a combining mark (e.g., U+0301), the cleanup norm() function fails to return its advanced heap pointer. Consequently, the caller releases heap words that still hold active list cells, leading to a situation where the returned list refers to released process heap memory that is subsequently overwritten by new allocations. This can cause functions such as file:list dir/1, file:list dir all/1, file:del dir r/1, and filelib:wildcard/1 to hang, making the VM unresponsive even to SIGTERM. Additionally, calling file:read link/1 on a symbolic link with such a target can abort the VM with a size object: bad tag error. This results in a loss of availability.Recommendations
Update Erlang/OTP to version 27.3.4.20, 28.5.0.9, or 29.1.3.
Update erts to version 15.2.7.15, 16.4.0.8, or 17.1.2.
As a temporary workaround, start the VM with the
+fnl flag to disable the decoding and normalization of file names.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾