CVE Catalog

CVE-2025-59432

MediumCVSS 6.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.70%

52th percentile - higher than 52% of all known CVEs

Summary

SCRAM (Salted Challenge Response Authentication Mechanism) is part of the SASL authentication mechanisms. Prior to version 3.2, the Java implementation of SCRAM contains a timing attack vulnerability because Arrays.equals was used to compare values such as client proofs and server signatures, performing a short-circuit comparison. Differences in execution time could allow an attacker to infer sensitive authentication material.

Risk Assessment

An attacker could perform a timing side-channel attack and potentially infer sensitive authentication material. All users relying on SCRAM authentication are impacted.

Recommendation

Update the SCRAM library to version 3.1 or later, where Arrays.equals has been replaced with MessageDigest.isEqual ensuring constant-time comparison.

Other vulnerabilities in SCRAM

Original NVD description (English source)

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 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS