Security Resilience

CVE-2025-59432

ongres scram

Published
22 September 2025
Modified
11 October 2026
CVSS Score v4 6.6
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0073 55th percentile
Risk Priority 42 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-59432 is a medium-severity Observable Timing Discrepancy (CWE-208) vulnerability in ongres scram (named in the CVE record; NVD lists no product yet). Its CVSS base score is 6.6 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique File and Directory Discovery (T1083); ranked in the top 45% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-31 (Covert Channel Analysis) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

SCRAM (Salted Challenge Response Authentication Mechanism) is part of the family of Simple Authentication and Security Layer (SASL, RFC 4422) authentication mechanisms. Prior to version 3.2, a timing attack vulnerability exists in the SCRAM Java implementation. The issue arises because…

more

Arrays.equals was used to compare secret values such as client proofs and server signatures. Since Arrays.equals performs a short-circuit comparison, the execution time varies depending on how many leading bytes match. This behavior could allow an attacker to perform a timing side-channel attack and potentially infer sensitive authentication material. All users relying on SCRAM authentication are impacted. This vulnerability has been patched in version 3.1 by replacing Arrays.equals with MessageDigest.isEqual, which ensures constant-time comparison.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1083 File and Directory Discovery Discovery
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1589 Gather Victim Identity Information Reconnaissance
Adversaries may gather information about the victim's identity that can be used during targeting.
T1592 Gather Victim Host Information Reconnaissance
Adversaries may gather information about the victim's hosts that can be used during targeting.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1110 Brute Force Credential Access
Adversaries may use brute force techniques to gain access to accounts when passwords are unknown or when password hashes are obtained.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-36405Shared CWE-208, CWE-385
CVE-2026-40194Shared CWE-208
CVE-2024-23953Shared CWE-208
CVE-2023-20540Shared CWE-208
CVE-2026-18259Shared CWE-208
CVE-2026-23892Shared CWE-208
CVE-2026-53525Shared CWE-208
CVE-2023-20572Shared CWE-208
CVE-2026-43383Shared CWE-208
CVE-2026-44061Shared CWE-208

Affected Assets

ongres
scram
named in the CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V11.2.4

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing can include timing analysis or side-channel test cases that reveal observable timing discrepancies.

Covert channel analysis directly identifies timing channels that could leak information.

Engineering principles can mandate constant-time algorithms and side-channel resistance so timing discrepancies are never introduced.

Requiring approved cryptographic modules and algorithms implicitly demands implementations free of observable timing leaks.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require constant-time implementations that eliminate observable timing discrepancies.

DE.CM-09 partial match
blocks

Runtime monitoring of hardware/software behavior can detect anomalous timing patterns that indicate covert channels.

ID.RA-01 partial match
blocks

Vulnerability identification processes can surface timing-channel weaknesses during design or code analysis.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

prevents

Training developers about constant-time comparison and timing side-channels reduces some instances of CWE-208, but the weakness typically arises from natural coding habits (early-exit loops, String.equals) rather than deliberate choices, so education moves a minority of cases and the remainder is bounded by the subtlety of the issue and library/framework defaults the developer never sees.

finds

Continuous monitoring may detect timing-based exfiltration but does not eliminate the channel itself.

prevents

A.8.28 mandates secure coding practices specific to programming languages and prohibits insecure design techniques, which can include constant-time comparison guidance, but the clause does not specifically address timing side channels and depends on developer awareness of this subtle weakness class.

finds

A.8.29's SOURCE reach (code review, static analysis) catches obvious non-constant-time comparisons and early-exit loops in security-sensitive code, and its RUNTIME reach (penetration testing) can surface some timing discrepancies under focused timing analysis, but many timing side channels are too subtle for standard code review, evade static-analysis pattern matching, and require specialised statistical timing measurement that ordinary pen testing does not perform — a nameable remainder that keeps the grade at `partial`.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25–8.29), so it reduces timing side-channel weaknesses in outsourced code the way those practices do; the ceiling is `partial` because timing discrepancies are subtle, require specialized constant-time knowledge, and depend on the supplier's implementation rigour.

blocks

A.8.5 items (c) and (d) directly address timing-based information disclosure during log-on — not indicating which part of the data is correct/incorrect, and validating log-on information only on completion of all input — which blocks the byte-by-byte password comparison and differential-error timing attacks documented in CWE-208's observed examples; however, the clause does not reach timing discrepancies in cryptographic operations (HMAC comparison, padding checks) or other authentication-related timing side channels beyond the log-on procedure itself.

References