CVE-2026-48859
Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
10/06/2026
Last modified:
15/06/2026
Description
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.<br />
<br />
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.<br />
<br />
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.<br />
<br />
This vulnerability is associated with program files lib/ssh/src/ssh_auth.erl and lib/ssh/src/ssh_options.erl.<br />
<br />
This issue affects OTP from OTP 29.0 before 29.0.2 corresponding to ssh from 6.0 before 6.0.1.
Impact
Base Score 4.0
6.30
Severity 4.0
MEDIUM
Base Score 3.x
5.30
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* | 29.0 (including) | 29.0.2 (excluding) |
| cpe:2.3:a:erlang:erlang\/ssh:*:*:*:*:*:*:*:* | 6.0 (including) | 6.0.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://cna.erlef.org/cves/CVE-2026-48859.html
- https://github.com/erlang/otp/commit/c342092ef4b369bb409d5b71ac8fd83bab74aedf
- https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4
- https://osv.dev/vulnerability/EEF-CVE-2026-48859
- https://www.erlang.org/doc/system/versions.html#order-of-versions



