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
This vulnerability in Erlang/OTP SSH (ssh_auth and ssh_options modules) allows unauthenticated remote attackers to enumerate valid usernames via a timing side-channel during password authentication. When the SSH daemon is configured with the user_passwords or password options, 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. This timing difference is detectable in a single authentication attempt, enabling username enumeration. The affected versions are OTP 29.0 up to but not including 29.0.2 and SSH 6.0 up to but not including 6.0.1. The user_passwords and password options are intended for test purposes; the recommended alternative is pwdfun, which is not vulnerable. No official fix or patch is currently documented.
Potential Impact
An unauthenticated remote attacker can distinguish valid usernames from invalid ones by measuring the response time during SSH password authentication attempts. This can facilitate further targeted attacks such as brute force or social engineering. The vulnerability does not allow direct password compromise or code execution but leaks information about valid user accounts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vendor recommends avoiding the use of the user_passwords and password options in production environments and instead using the pwdfun option, which is not affected by this vulnerability. Until an official fix is released, disabling or not using the vulnerable options is the primary mitigation.
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
pkg:github/erlang/otpcpe: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
This vulnerability in Erlang/OTP SSH (ssh_auth and ssh_options modules) allows unauthenticated remote attackers to enumerate valid usernames via a timing side-channel during password authentication. When the SSH daemon is configured with the user_passwords or password options, 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. This timing difference is detectable in a single authentication attempt, enabling username enumeration. The affected versions are OTP 29.0 up to but not including 29.0.2 and SSH 6.0 up to but not including 6.0.1. The user_passwords and password options are intended for test purposes; the recommended alternative is pwdfun, which is not vulnerable. No official fix or patch is currently documented.
Potential Impact
An unauthenticated remote attacker can distinguish valid usernames from invalid ones by measuring the response time during SSH password authentication attempts. This can facilitate further targeted attacks such as brute force or social engineering. The vulnerability does not allow direct password compromise or code execution but leaks information about valid user accounts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vendor recommends avoiding the use of the user_passwords and password options in production environments and instead using the pwdfun option, which is not affected by this vulnerability. Until an official fix is released, disabling or not using the vulnerable options is the primary mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-25T20:44:10.697Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a298ad7c9170919df367442
Added to database: 06/10/2026, 16:03:35 UTC
Last enriched: 07/24/2026, 21:35:58 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 87
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.