CVE-2026-125658
CVE-2026-125658 · Use after free in erts file name normalization on macOS
CVSS 5.7 · Medium · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- erlangUpdate to 15.2.7.15
- erlang Ubuntu Pro 14.04 LTSNo fix published
- erlang Ubuntu Pro 16.04 LTSNo fix published
- erlang Ubuntu Pro 18.04 LTSNo fix published
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="erlang"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:103406 · Red Hat hummingbird 1 ·
Stack: system
Affected products and versions
erlang
- Versions
- ≥ 6.0: Affected; ≥ 15.2.7.15: Not affected; ≥ 16.4.0.8: Not affected; ≥ 17.1.2: Not affected (otp)
Update to 15.2.7.15
erlang
- Versions
- ≥ 17.0: Affected; ≥ 27.3.4.20: Not affected; ≥ 28.5.0.9: Not affected; ≥ 29.1.3: Not affected (otp)
Update to 27.3.4.20
erlang
- Versions
- ≥ 9622ab2132e2501ee5769357a914dcc6635e515c, < 322b04488d9445c7258abce3e7f3bc79aa7c45d8: Affected (git)
No fix published
erlang Ubuntu Pro 14.04 LTS
- Versions
- 1:16.b.1-dfsg-4ubuntu1
- 1:16.b.2-dfsg-1ubuntu1
- 1:16.b.2-dfsg-2ubuntu1
- 1:16.b.3-dfsg-1ubuntu1
- 1:16.b.3-dfsg-1ubuntu2
- 1:16.b.3-dfsg-1ubuntu2.1
All versions (10)
- 1:16.b.3-dfsg-1ubuntu2.2
- 1:16.b.3-dfsg-1ubuntu2.2+esm1
- 1:16.b.3-dfsg-1ubuntu2.2+esm2
- 1:16.b.3-dfsg-1ubuntu2.2+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu Pro 16.04 LTS
- Versions
- 1:18.0-dfsg-1ubuntu1
- 1:18.0-dfsg-1ubuntu2
- 1:18.2-dfsg-2ubuntu1
- 1:18.3-dfsg-1ubuntu1
- 1:18.3-dfsg-1ubuntu2
- 1:18.3-dfsg-1ubuntu3
All versions (11)
- 1:18.3-dfsg-1ubuntu3.1
- 1:18.3-dfsg-1ubuntu3.1+esm1
- 1:18.3-dfsg-1ubuntu3.1+esm2
- 1:18.3-dfsg-1ubuntu3.1+esm3
- 1:18.3-dfsg-1ubuntu3.1+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu Pro 18.04 LTS
- Versions
- 1:20.0.4+dfsg-1ubuntu1
- 1:20.1.2+dfsg-1ubuntu1
- 1:20.1.3+dfsg-1ubuntu1
- 1:20.1.4+dfsg-1ubuntu1
- 1:20.1.5+dfsg-1ubuntu1
- 1:20.1.6+dfsg-1ubuntu1
All versions (14)
- 1:20.1.7+dfsg-1ubuntu1
- 1:20.2.1+dfsg-1ubuntu1
- 1:20.2.2+dfsg-1ubuntu1
- 1:20.2.2+dfsg-1ubuntu2
- 1:20.2.2+dfsg-1ubuntu2+esm1
- 1:20.2.2+dfsg-1ubuntu2+esm2
- 1:20.2.2+dfsg-1ubuntu2+esm3
- 1:20.2.2+dfsg-1ubuntu2+esm4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu Pro 20.04 LTS
- Versions
- 1:22.0.7+dfsg-1build1
- 1:22.2+dfsg-1
- 1:22.2.1+dfsg-1
- 1:22.2.2+dfsg-1
- 1:22.2.3+dfsg-1
- 1:22.2.3+dfsg-2
All versions (15)
- 1:22.2.4+dfsg-1
- 1:22.2.7+dfsg-1
- 1:22.2.7+dfsg-1ubuntu0.2
- 1:22.2.7+dfsg-1ubuntu0.3
- 1:22.2.7+dfsg-1ubuntu0.4
- 1:22.2.7+dfsg-1ubuntu0.5
- 1:22.2.7+dfsg-1ubuntu0.5+esm1
- 1:22.2.7+dfsg-1ubuntu0.5+esm2
- 1:22.2.7+dfsg-1ubuntu0.5+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu 22.04 LTS
- Versions
- 1:23.2.6+dfsg-1build1
- 1:24.1.1+dfsg-1
- 1:24.1.4+dfsg-1
- 1:24.1.5+dfsg-1
- 1:24.1.5+dfsg-1ubuntu1
- 1:24.2+dfsg-1
All versions (15)
- 1:24.2.1+dfsg-1
- 1:24.2.1+dfsg-1ubuntu0.1
- 1:24.2.1+dfsg-1ubuntu0.2
- 1:24.2.1+dfsg-1ubuntu0.3
- 1:24.2.1+dfsg-1ubuntu0.4
- 1:24.2.1+dfsg-1ubuntu0.5
- 1:24.2.1+dfsg-1ubuntu0.6
- 1:24.2.1+dfsg-1ubuntu0.7
- 1:24.2.1+dfsg-1ubuntu0.8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu 24.04 LTS
- Versions
- 1:25.2.3+dfsg-1
- 1:25.3.2.8+dfsg-1
- 1:25.3.2.8+dfsg-1ubuntu1
- 1:25.3.2.8+dfsg-1ubuntu3
- 1:25.3.2.8+dfsg-1ubuntu4
- 1:25.3.2.8+dfsg-1ubuntu4.1
All versions (13)
- 1:25.3.2.8+dfsg-1ubuntu4.2
- 1:25.3.2.8+dfsg-1ubuntu4.3
- 1:25.3.2.8+dfsg-1ubuntu4.4
- 1:25.3.2.8+dfsg-1ubuntu4.5
- 1:25.3.2.8+dfsg-1ubuntu4.6
- 1:25.3.2.8+dfsg-1ubuntu4.7
- 1:25.3.2.8+dfsg-1ubuntu4.8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu 26.10
- Versions
- 1:27.3.4.6+dfsg-1
- 1:27.3.4.12+dfsg-1
- 1:29.0.6+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu 26.04 LTS
- Versions
- 1:27.3.4.1+dfsg-1build1
- 1:27.3.4.3+dfsg-1
- 1:27.3.4.4+dfsg-1
- 1:27.3.4.6+dfsg-1
- 1:27.3.4.6+dfsg-1ubuntu0.1
- 1:27.3.4.6+dfsg-1ubuntu0.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/erlang/otp/security/advisories/GHSA-2pqq-qr2r-wgcc
- https://cna.erlef.org/cves/CVE-2026-125658.html
- https://osv.dev/vulnerability/EEF-CVE-2026-125658
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/9622ab2132e2501ee5769357a914dcc6635e515c
- https://github.com/erlang/otp/commit/322b04488d9445c7258abce3e7f3bc79aa7c45d8
- https://nvd.nist.gov/vuln/detail/CVE-2026-125658