CVE-2026-48859

Observable Timing Discrepancy vulnerability in Erlang/OTP ssh (ssh_auth, ssh_options modules) allows unauthenticated remote username enumeration via timing side-channel in password authentication. When the SSH daemon is configured with the user_passwords or password option, ssh_auth:check_password/3 performs a PBKDF2-SHA256 computation with 600,000 iterations (~300ms) for valid usernames, but returns immediately (~0ms) for invalid usernames via the ssh_options:get_password_option/2 path. This timing difference is detectable in a single authentication attempt and allows an unauthenticated attacker to distinguish valid from invalid usernames. The user_passwords and password options are documented as intended for test purposes; the recommended alternative is pwdfun, which is not affected by this vulnerability. This vulnerability is associated with program files lib/ssh/src/ssh_auth.erl and lib/ssh/src/ssh_options.erl. This issue affects OTP from OTP 29.0 before OTP 29.0.2, corresponding to ssh from 6.0 before 6.0.1.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de discrepancia de tiempo observable en Erlang/OTP ssh (módulos ssh_auth, ssh_options) permite la enumeración remota de nombres de usuario no autenticados a través de un canal lateral de tiempo en la autenticación de contraseña. Cuando el demonio SSH está configurado con la opción user_passwords o password, ssh_auth:check_password/3 realiza un cálculo PBKDF2-SHA256 con 600.000 iteraciones (~300ms) para nombres de usuario válidos, pero regresa inmediatamente (~0ms) para nombres de usuario inválidos a través de la ruta ssh_options:get_password_option/2. Esta diferencia de tiempo es detectable en un solo intento de autenticación y permite a un atacante no autenticado distinguir nombres de usuario válidos de inválidos. Las opciones user_passwords y password están documentadas como destinadas a fines de prueba; la alternativa recomendada es pwdfun, que no se ve afectada por esta vulnerabilidad. Esta vulnerabilidad está asociada con los archivos de programa lib/ssh/src/ssh_auth.erl y lib/ssh/src/ssh_options.erl. Este problema afecta a OTP desde OTP 29.0 antes de 29.0.2 correspondiente a ssh desde 6.0 antes de 6.0.1.

Information

Published : 2026-06-10 16:17

Updated : 2026-10-26 11:10


NVD link : CVE-2026-48859

Mitre link : CVE-2026-48859

CVE.ORG link : CVE-2026-48859


JSON object : View

Products Affected

erlang

  • erlang\/ssh
  • erlang\/otp
CWE
CWE-208

Observable Timing Discrepancy