CVE-2025-59432
Description
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.
Weakness Type (CWE)
References
Frequently Asked Questions
What is CVE-2025-59432? +
How do I check if I'm vulnerable to CVE-2025-59432? +
Related Vulnerabilities
Padding oracle attack vulnerability in Oberon microsystem AG’s ocrypto library in all versions since 3.1.0 and prior to 3.9.2 allows …
An observable timing discrepancy in the ASP could allow a privileged attacker to perform a brute-force attack against the hash …
Quiet is an alternative to team chat apps like Slack, Discord, and Element that does not require trusting a central …
SignXML is an implementation of the W3C XML Signature standard in Python. When verifying signatures with X509 certificate validation turned …
Padding oracle attack vulnerability in Oberon microsystem AG’s Oberon PSA Crypto library in all versions since 1.0.0 and prior to …
An observable timing discrepancy in the ASP could allow a privileged attacker to perform a brute-force attack against the hash …