Skip to main content

Linux-PAM EUVDEUVD-2026-36662

| CVE-2026-54411 MEDIUM
Observable Timing Discrepancy (CWE-208)
2026-06-14 TuranSec GHSA-56gg-22rq-q53x
6.9
CVSS 4.0 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Identify service backed by pam_userdb with crypt=none
  2. Delivery
    Submit authentication probes with varying password lengths
  3. Exploit
    Measure response latency to determine stored password length
  4. Execution
    Iteratively probe each byte position with candidate character values
  5. Persist
    Reconstruct plaintext password from cumulative timing deltas
  6. Impact
    Authenticate as target account with recovered credentials

Vulnerability Assessment

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

Three specific conditions must all be true simultaneously for exploitation. First and most critically, the pam_userdb module must be configured with crypt=none, an unrecognized or misspelled crypt= value, or no crypt= argument at all - only these configurations enable the plaintext storage and comparison path; any recognized hash method (SHA512, md5, etc.) renders this path unreachable and the vulnerability unexploitable. Second, the attacker must be able to repeatedly submit authentication requests to a service that calls pam_userdb for credential verification - this requires either network reachability to a network-exposed service (SSH, FTP, custom daemon) or local execution on a system with a locally-bound service. Third, the attacker requires a sufficiently stable and low-jitter communication path to extract statistically meaningful timing deltas from response latency measurements across many attempts. What limits exploitation: the crypt=none configuration is non-default, explicitly insecure, and should not appear in hardened deployments; authentication rate limiting or lockout policies at the service layer directly impede the required volume of attempts; and the attack leaves a high-volume authentication log trail detectable by standard SIEM alerting.

Impact

The CVSS 4.0 score of 6.9 with vector AV:N/AC:H/AT:P/PR:N/UI:N captures the real-world risk profile accurately. AC:H reflects that timing attacks require precise measurement infrastructure, many authentication attempts, and a low-noise network path. AT:P (Attack Requirements: Present) explicitly encodes the non-default configuration prerequisite, limiting the exposed population to deployments where an administrator has configured crypt=none or equivalent. The supplemental AU:N (Automatable: No) and V:D (Value density: Diffuse) further confirm this is targeted rather than opportunistic - large-scale automated exploitation is not practical. However, VC:H (Vulnerable system Confidentiality: High) is well-justified because success yields full plaintext credential recovery. The E:P metric (Exploit maturity: Proof-of-Concept) elevates priority above theoretical vulnerabilities - methodology is demonstrably feasible. No KEV listing exists, distinguishing this from confirmed active exploitation. The description's framing of 'local or network-adjacent' as the attacker position contrasts somewhat with the provided AV:N assignment; defenders should verify whether their pam_userdb-consuming service is exposed to untrusted network segments, as this significantly changes actual attack surface. Missing data: no EPSS score was provided; no vendor advisory URL was included in the references beyond upstream source pointers.

Exploit ScenarioDerived

An attacker with access to a network service backed by pam_userdb in crypt=none mode submits thousands of authentication attempts with systematically crafted candidate passwords - first varying length to identify the stored password's exact character count via timing differentials, then iterating each byte position with candidate ASCII values to recover the password character by character. Because proof-of-concept exploit methodology exists (CVSS 4.0 E:P), the statistical analysis approach to extracting timing signal is publicly documented. The high attack complexity (AC:H, AT:P) makes this a deliberate, targeted campaign requiring a stable low-latency path and extended observation time rather than an opportunistic automated attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 14, 2026

Timing side-channel in Linux-PAM's pam_userdb module through version 1.7.2 allows plaintext password recovery by any attacker capable of repeatedly submitting authentication attempts to a service backed by the vulnerable configuration. The module's use of length-prefixed strncmp() (or strncasecmp() with PAM_ICASE_ARG) on plaintext credentials leaks both password length and individual prefix bytes via measurable response-time differences, enabling iterative character-by-character reconstruction of the stored password. Proof-of-concept exploit methodology exists per CVSS 4.0 supplemental metadata (E:P); while no CISA KEV listing was found, the high confidentiality impact (VC:H) and credential-disclosure nature make this a meaningful risk for any deployment relying on pam_userdb in plaintext mode.

RemediationAI

No vendor-released patch identified at time of analysis - the references point to the upstream source repository (https://github.com/linux-pam/linux-pam) without identifying a tagged fix release or patched version number. The primary and most effective mitigation is to reconfigure pam_userdb to use a supported cryptographic hash (e.g., crypt=SHA512) for password storage, which eliminates the plaintext comparison path entirely; this requires regenerating the Berkeley DB credential database and a brief service restart. If reconfiguration is not immediately feasible, restrict network or local access to the authentication service consuming pam_userdb to only trusted principals via firewall rules or network segmentation, directly reducing the pool of potential timing oracle requestors. Rate-limiting authentication attempts at the service layer (e.g., via fail2ban or per-account lockout thresholds) significantly raises the cost and time required for a successful timing attack, though it does not eliminate the vulnerability. Migrating to an alternative PAM credential module (e.g., pam_unix with shadow passwords, which uses constant-time comparison) is a longer-term architectural remedy. Monitor https://github.com/linux-pam/linux-pam for a patched release addressing this timing path.

Affected VersionsENISA

Linux-PAM 0 ≤1.7.2

Affected Packages

euvd linux_pam no fix

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

Linux-PAM (cpe:2.3:a:linux-pam:linux-pam:*:*:*:*:*:*:*:*) is the Pluggable Authentication Modules framework on Linux. The pam_userdb module stores and verifies credentials from a Berkeley DB flat-file database. The vulnerable path is in modules/pam_userdb/pam_userdb.c at approximately line 327, where the module performs a two-stage comparison: first a length equality check, then a byte-by-byte strncmp() (or strncasecmp() when PAM_ICASE_ARG is set, referencing libpam/include/pam_inline.h). This constitutes CWE-208 (Observable Timing Discrepancy): the length check short-circuits immediately on mismatch - leaking password length - and strncmp exits at the first differing byte - leaking prefix content. The vulnerable path is reached only when an administrator configures the module with crypt=none, supplies an unrecognized crypt= value, or omits the crypt= argument entirely, causing credentials to be stored and compared in plaintext rather than via a hash. Systems using any recognized cryptographic method (e.g., SHA512, md5) do not enter this code path.

Know when Linux Pam 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 (TuranSec) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/AU:N/V:D
vuln.today AI 5.9 MEDIUM

AV:N reflects that pam_userdb-consuming services (SSH, FTP) are commonly network-exposed; AC:H captures both timing attack measurement complexity and the non-default crypt=none configuration prerequisite; C:H reflects full plaintext credential disclosure.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Red Hat 4.8 MEDIUM

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

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

DescriptionCVE.org

Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module's plaintext-password comparison path in modules/pam_userdb/pam_userdb.c that allows a local or network-adjacent attacker able to repeatedly drive authentication through a calling service to recover the plaintext password of a target account by measuring response-timing differences. The comparison uses strncmp() (or strncasecmp() when PAM_ICASE_ARG is set) preceded by a length-equality check, so the time to reject a candidate depends on the index of the first differing byte and on whether the candidate's length matches the stored password, leaking the password length and individual prefix bytes. The vulnerable path is reached when the administrator configures pam_userdb with crypt=none, with an unrecognized crypt method, or without a crypt= argument, causing the module to store and compare credentials in plaintext.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL 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 No
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
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Affected
SLES15-SP6-CHOST-BYOS Affected
SLES15-SP6-CHOST-BYOS-Aliyun Affected
SLES15-SP6-CHOST-BYOS-Azure Affected
SLES15-SP6-CHOST-BYOS-EC2 Affected

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