CVE-2026-48859SSH server timing side-channel in ssh_auth:check_password/3 allows unauthenticated…
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | erlang | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-48859 | |
| Ubuntu 24.04 | erlang | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | erlang | Not affected vulnerable_code_not_present |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 6.0 to before 6.0.1; fixed in
6.0.1 - Erlang OTP: affected: 29.0 to before 29.0.2; fixed in
29.0.2 - Erlang OTP: affected: 032d1bc9491a3975c68faf9bc7776115d6ae3005 to before c342092ef4b369bb409d5b71ac8fd83bab74aedf
Workaround: * 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. * Restrict SSH port access to trusted networks only via firewall rules, reducing the set of potential attackers who can perform timing measurements.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4 (vendor-advisory)
- https://github.com/erlang/otp/commit/c342092ef4b369bb409d5b71ac8fd83bab74aedf (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4
- https://cna.erlef.org/cves/CVE-2026-48859.html
- https://osv.dev/vulnerability/EEF-CVE-2026-48859
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/032d1bc9491a3975c68faf9bc7776115d6ae3005
- https://github.com/erlang/otp/commit/c342092ef4b369bb409d5b71ac8fd83bab74aedf
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.