Skip to main content

Erlang/OTP SSH EUVDEUVD-2026-36054

| CVE-2026-48859 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-06-10 EEF
6.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Erlang/OTP SSH daemon on network
  2. Delivery
    Probe each candidate username with a single password auth attempt
  3. Exploit
    Measure server response latency per probe
  4. Execution
    Classify ~0ms response as invalid username
  5. Persist
    Classify ~300ms response as valid username
  6. Impact
    Compile confirmed valid username list for further attacks

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V6 - Authentication Timing attack prevention
Exploitation Conditions

Exploitation requires the Erlang/OTP SSH daemon to be configured with either the user_passwords option (a list of {Username, Password} tuples) or the password option - both documented explicitly as intended for test and development use, not production deployments. These options trigger the ssh_auth:check_password/3 code path where the timing discrepancy between valid and invalid usernames exists. Deployments using the pwdfun option (the production-recommended alternative) are not affected. The ~300ms vs ~0ms timing signal is detectable from a single authentication attempt over the network with no local access required. Exploitation is limited by: the affected options being explicitly test-oriented and discouraged for production use (CVSS AT:P confirms non-default configuration required); the attack yielding only username validity (VC:L) with no integrity or availability impact; and no authentication, user interaction, or elevated privileges being required once the vulnerable configuration is present.

Impact

The CVSS 4.0 score of 6.3 (Medium) is appropriate and well-calibrated. AV:N/PR:N/UI:N confirms the attack requires only network reachability and no credentials, but AT:P (Attack Target: Partial in CVSS 4.0) correctly reflects the non-default configuration prerequisite. Impact is limited to VC:L - username disclosure only, with no integrity or availability consequence. The vulnerability is not listed in CISA KEV, and no public exploit code has been identified. Despite low exploitation complexity in principle (a single TCP connection per probe suffices), real-world exposure is substantially reduced because both user_passwords and password are documented as test-only options explicitly discouraged for production use. EPSS score data was not provided in the input and cannot be inferred. The primary realistic exposure is development/CI environments or operators who disregarded documentation guidance. For production systems using the recommended pwdfun option, there is no exposure to this vulnerability.

Exploit ScenarioDerived

An unauthenticated attacker with network access to an Erlang/OTP SSH daemon (OTP 29.0-29.0.1) configured with user_passwords sends one SSH password authentication attempt per candidate username, measuring whether the server responds in approximately 0ms (early exit - invalid username) or approximately 300ms (PBKDF2 computed - valid username). This yields reliable username enumeration with a single probe per candidate, requiring no special tooling beyond a TCP timing measurement. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Username enumeration via timing side-channel in Erlang/OTP SSH daemon (OTP 29.0-29.0.1) allows unauthenticated remote attackers to distinguish valid from invalid usernames in a single probe. When the daemon is configured with the user_passwords or password options, valid usernames trigger a 600,000-iteration PBKDF2-SHA256 computation (~300ms) while invalid usernames return near-instantly (~0ms) through an early-exit path - a gap detectable without repeated attempts. No public exploit has been identified at time of analysis, and exploitation is constrained to non-default, test-oriented configurations.

RemediationAI

Upgrade to Erlang/OTP 29.0.2 (SSH library 6.0.1), which resolves the issue by running a dummy PBKDF2 computation on the invalid-username path, equalizing server response timing. The upstream patch is at commit c342092ef4b369bb409d5b71ac8fd83bab74aedf and the advisory is at https://github.com/erlang/otp/security/advisories/GHSA-3w6p-vwhf-wvp4. For operators who cannot upgrade immediately, replace the user_passwords or password daemon options with pwdfun, which is the documented production alternative and is not affected by this vulnerability. When implementing a pwdfun callback, use constant-time password comparison and avoid early returns based on username validity - the patched hardening guide explicitly warns that a naive pwdfun implementation can reintroduce the same timing oracle. This workaround requires code changes to the SSH daemon configuration and testing of the callback implementation for timing uniformity.

Affected VersionsENISA

otp 032d1bc9491a3975c68faf9bc7776115d6ae3005 <c342092ef4b369bb409d5b71ac8fd83bab74aedf
otp 6.0 <6.0.1
otp 29.0 <29.0.2

Affected Packages

euvd otp fix: 6.0.1, 29.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-208 (Observable Timing Discrepancy), a side-channel class where secret-dependent branching leaks information through measurable execution time. In lib/ssh/src/ssh_auth.erl, the function ssh_auth:check_password/3 invokes a 600,000-iteration PBKDF2-SHA256 derivation only for usernames matched in the user_passwords list; unrecognized usernames exit early via ssh_options:get_password_option/2 in lib/ssh/src/ssh_options.erl with no equivalent computation. CPE cpe:2.3:a:erlang:otp:*:*:*:*:*:*:*:* covers the Erlang/OTP platform's built-in SSH library. The fix at commit c342092ef4b369bb409d5b71ac8fd83bab74aedf introduces maybe_add_fake_passwd_checker/2 in ssh_options.erl, which injects a dummy PBKDF2 run for the invalid-username path when pwdfun is not configured, normalizing response timing regardless of username validity. The patched hardening documentation also now explicitly warns that custom pwdfun implementations must use constant-time comparisons to avoid reintroducing the same class of oracle.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 6.3 MEDIUM
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

Primary rating from Vendor (EEF) · only source for this CVE.

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 10, 2026 - 16:22 NVD
6.3 (MEDIUM)

DescriptionCVE.org

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 29.0.2 corresponding to ssh from 6.0 before 6.0.1.

Threat Intelligence Overview

EPSS Score
0.3%
Top 50% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-89422 CRITICAL
9.3 Sep 22

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy