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

11 Nov 2026, 14:17

Type Values Removed Values Added
References
  • () https://github.com/erlang/otp/commit/032d1bc9491a3975c68faf9bc7776115d6ae3005 -

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.

03 Aug 2026, 20:17

Type Values Removed Values Added
Summary (en) 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. (en) 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.

24 Jul 2026, 15:17

Type Values Removed Values Added
Summary (en) 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 29.0.2 corresponding to ssh from 6.0 before 6.0.1. (en) 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.

15 Jun 2026, 18:23

Type Values Removed Values Added
First Time Erlang erlang\/otp
Erlang erlang\/ssh
Erlang
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:*
References () https://cna.erlef.org/cves/CVE-2026-48859.html - () https://cna.erlef.org/cves/CVE-2026-48859.html - Mitigation, Third Party Advisory
References () https://github.com/erlang/otp/commit/c342092ef4b369bb409d5b71ac8fd83bab74aedf - () https://github.com/erlang/otp/commit/c342092ef4b369bb409d5b71ac8fd83bab74aedf - Patch
References () https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4 - () https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4 - Mitigation, Vendor Advisory
References () https://osv.dev/vulnerability/EEF-CVE-2026-48859 - () https://osv.dev/vulnerability/EEF-CVE-2026-48859 - Mitigation, Third Party Advisory
References () https://www.erlang.org/doc/system/versions.html#order-of-versions - () https://www.erlang.org/doc/system/versions.html#order-of-versions - Product

10 Jun 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-10 16:17

Updated : 2026-11-20 06:17


NVD link : CVE-2026-48859

Mitre link : CVE-2026-48859

CVE.ORG link : CVE-2026-48859


JSON object : View

Products Affected

erlang

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

Observable Timing Discrepancy