CVE-2025-59432 Details
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.
A timing attack vulnerability has been identified in the Ongres SCRAM (Salted Challenge Response Authentication Mechanism) Java implementation, in versions prior to 3.2. The vulnerability arises because 'Arrays.equals' was used to compare secret values, such as client proofs and server signatures. This method performs a short-circuit comparison, leading to variations in execution time based on how many leading bytes match. Consequently, an attacker could exploit this timing side-channel to infer sensitive authentication information. All users relying on SCRAM authentication are affected.
Users should upgrade to Ongres SCRAM version 3.2 or later, which addresses the vulnerability by replacing 'Arrays.equals' with 'MessageDigest.isEqual' to ensure constant-time comparisons.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 22, 2025CISA-ADP
Assessed Sep 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-208 | Observable Timing Discrepancy | [email protected] |
| CWE-385 | Covert Timing Channel | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| com.ongres.scram | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 11, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 23, 2026 | CVE Modified | [email protected] |
| Sep 22, 2025 | New CVE Received | [email protected] |
Volerion