CVE-2026-48859: CWE-208 Observable Timing Discrepancy in Erlang OTP
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.
AI Analysis
Technical Summary
The vulnerability in Erlang/OTP SSH (CVE-2026-48859) involves an observable timing discrepancy during password authentication. When configured with the user_passwords or password options, ssh_auth:check_password/3 performs a PBKDF2-SHA256 hash with 600,000 iterations (~300ms) for valid usernames but returns immediately (~0ms) for invalid usernames via ssh_options:get_password_option/2. This timing difference allows unauthenticated remote attackers to distinguish valid usernames from invalid ones in a single authentication attempt. The issue affects OTP versions 29.0 prior to 29.0.2 and SSH versions 6.0 prior to 6.0.1. The user_passwords and password options are intended for testing; the recommended pwdfun option is not vulnerable.
Potential Impact
An unauthenticated remote attacker can enumerate valid usernames on the SSH service by measuring authentication response times. This information disclosure can aid further targeted attacks such as brute force or social engineering. The vulnerability does not allow direct password compromise or code execution but leaks sensitive authentication information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability affects OTP versions before 29.0.2 and SSH versions before 6.0.1. Users should upgrade to OTP 29.0.2 or later and SSH 6.0.1 or later once available. Alternatively, avoid using the user_passwords or password options for SSH authentication and switch to the recommended pwdfun option, which is not affected by this timing discrepancy.
CVE-2026-48859: CWE-208 Observable Timing Discrepancy in Erlang OTP
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. 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.
CVSS v4.0
Score 6.3medium
Affected software
Erlang
OTP
Erlang
OTP
Erlang
OTP
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Erlang/OTP SSH (CVE-2026-48859) involves an observable timing discrepancy during password authentication. When configured with the user_passwords or password options, ssh_auth:check_password/3 performs a PBKDF2-SHA256 hash with 600,000 iterations (~300ms) for valid usernames but returns immediately (~0ms) for invalid usernames via ssh_options:get_password_option/2. This timing difference allows unauthenticated remote attackers to distinguish valid usernames from invalid ones in a single authentication attempt. The issue affects OTP versions 29.0 prior to 29.0.2 and SSH versions 6.0 prior to 6.0.1. The user_passwords and password options are intended for testing; the recommended pwdfun option is not vulnerable.
Potential Impact
An unauthenticated remote attacker can enumerate valid usernames on the SSH service by measuring authentication response times. This information disclosure can aid further targeted attacks such as brute force or social engineering. The vulnerability does not allow direct password compromise or code execution but leaks sensitive authentication information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability affects OTP versions before 29.0.2 and SSH versions before 6.0.1. Users should upgrade to OTP 29.0.2 or later and SSH 6.0.1 or later once available. Alternatively, avoid using the user_passwords or password options for SSH authentication and switch to the recommended pwdfun option, which is not affected by this timing discrepancy.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-25T20:44:10.697Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a298ad7c9170919df367442
Added to database: 06/10/2026, 16:03:35 UTC
Last enriched: 08/03/2026, 21:25:18 UTC
Last updated: 09/13/2026, 22:12:47 UTC
Views: 118
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.