{"id":"CVE-2026-48859","aliases":["CVE-2026-48859","EEF-CVE-2026-48859","GHSA-3w6p-vwhf-wvp4"],"related":[],"kind":"vulnerability","state":"published","title":"SSH server timing side-channel in ssh_auth:check_password/3 allows unauthenticated username enumeration","summary":"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.\n\nWhen 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.\n\nThe user_passwords and password options are documented as intended for test purposes; the recommended alternative is pwdfun, which is not affected by this vulnerability.\n\nThis vulnerability is associated with program files lib/ssh/src/ssh_auth.erl and lib/ssh/src/ssh_options.erl.\n\nThis issue affects OTP from OTP 29.0 before OTP 29.0.2, corresponding to ssh from 6.0 before 6.0.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nWhen 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.\n\nThe user_passwords and password options are documented as intended for test purposes; the recommended alternative is pwdfun, which is not affected by this vulnerability.\n\nThis vulnerability is associated with program files lib/ssh/src/ssh_auth.erl and lib/ssh/src/ssh_options.erl.\n\nThis issue affects OTP from OTP 29.0 before OTP 29.0.2, corresponding to ssh from 6.0 before 6.0.1.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nObservable Timing Discrepancy vulnerability in Erlang/OTP ssh (ssh_auth, ssh_options modules) allows unauthenticated remote username enumeration via timing side-channel in password authentication.\n\nWhen 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.\n\nThe `user_passwords` and `password` options are documented as intended for test purposes; the recommended alternative is `pwdfun`, which is not affected by this vulnerability.\n\nThis vulnerability is associated with program files `lib/ssh/src/ssh_auth.erl` and `lib/ssh/src/ssh_options.erl`.\n\nThis issue affects OTP from OTP 29.0 before OTP 29.0.2, corresponding to ssh from 6.0 before 6.0.1.\n\n## Workarounds\n\n* Use the `pwdfun` option instead of `user_passwords` for password authentication. The `pwdfun` callback gives full control over timing behavior and is not affected by this vulnerability. Implementations should take care to execute in approximately constant time regardless of username validity.\n* Restrict SSH port access to trusted networks only via firewall rules, reducing the set of potential attackers who can perform timing measurements.\n\n## Configurations\n\nThe SSH daemon must be configured with the `user_passwords` or `password` option for password authentication. Systems using the `pwdfun` option instead are not affected.","format":"markdown","source":"eef"},{"lang":"es","text":"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.\n\nCuando 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.\n\nLas 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.\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/ssh/src/ssh_auth.erl y lib/ssh/src/ssh_options.erl.\n\nEste problema afecta a OTP desde OTP 29.0 antes de 29.0.2 correspondiente a ssh desde 6.0 antes de 6.0.1.","source":"nvd"}],"published":"2026-06-10T14:35:43.553Z","modified":"2026-11-25T06:30:24.906Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"type":"otp","introduced":"6.0","fixed":"6.0.1","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"ssh","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"otp","introduced":"29.0","fixed":"29.0.2","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"032d1bc9491a3975c68faf9bc7776115d6ae3005","fixed":"c342092ef4b369bb409d5b71ac8fd83bab74aedf","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"git","introduced":"032d1bc9491a3975c68faf9bc7776115d6ae3005","status":"affected","fixed":"c342092ef4b369bb409d5b71ac8fd83bab74aedf"}],"repo":"https://github.com/erlang/otp","source":"eef"},{"ranges":[{"status":"affected","introduced":"29.0","fixed":"29.0.2"}],"vendor":"erlang","product":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.0.1"}],"vendor":"erlang","product":"erlang/ssh","cpe":"cpe:2.3:a:erlang:erlang\\/ssh:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4","tags":["advisory","mitigation","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-48859.html","tags":["mitigation","related","third-party-advisory","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48859","tags":["mitigation","related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["product","web","x-version-scheme"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/032d1bc9491a3975c68faf9bc7776115d6ae3005","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/c342092ef4b369bb409d5b71ac8fd83bab74aedf","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Zhang Delong","Jakub Witczak","Ingela Anderton Andin","Michał Wąsowski"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-10T16:19:16.914Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48859","url":"https://www.cve.org/CVERecord?id=CVE-2026-48859","licence":"CVE Terms of Use","modified":"2026-11-20T06:08:53.388Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-48859","url":"https://osv.dev/vulnerability/EEF-CVE-2026-48859","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:24.906Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48859","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48859","licence":"Public domain","modified":"2026-11-20T06:17:29.180Z"}],"updatedAt":"2026-11-25T22:59:24.340Z","epss":{"score":0.00675,"percentile":0.47286,"date":"2026-11-30T12:00:22.000Z"}}