1. Accueil
  2. Vulnérabilités
  3. CVE-2026-125658

CVE-2026-125658

Use after free in erts file name normalization on macOS

Publiée le 24 nov. 2026 · modifiée le 24 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 36/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Erlang (2 ligne(s))
Erlang
ProduitVersionsCorrigé dansSource
OTP de 6.0 (inclus) à 15.2.7.15 (exclu) 15.2.7.15 CNA (éditeur ou attributeur)
OTP de 17.0 (inclus) à 27.3.4.20 (exclu) 27.3.4.20 CNA (éditeur ou attributeur)

Correctif

Mise à jour — 15.2.7.15, 27.3.4.20source officielle

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Start the VM with the +fnl flag, for example through ERL_FLAGS. The VM then does not decode or normalize file names. This changes the result of file name functions for names outside ASCII: the VM returns each byte of the name as one Latin-1 character.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (CVSS 4.0, CNA:EEF)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données