{"cve":"CVE-2025-59432","nvd":{"published":"2025-09-22T20:15:38.673","modified":"2026-10-11T20:10:00.200","status":"Deferred","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.","cvss_v4":{"vector":"CVSS: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","score":6.6},"cvss_v3":null,"cwes":["CWE-208","CWE-385"],"references":["https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/security/MessageDigest.html#isEqual(byte%5B%5D,byte%5B%5D)","https://github.com/ongres/scram/commit/e0b0cf99f05406a0d26682c72fcb5728e95124b3","https://github.com/ongres/scram/security/advisories/GHSA-3wfh-36rx-9537"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:10:08.713834912+00:00"},"epss":{"cve":"CVE-2025-59432","score":0.00702,"percentile":0.52984,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-3wfh-36rx-9537","url":"https://osv.dev/vulnerability/GHSA-3wfh-36rx-9537","summary":"Timing Attack Vulnerability in SCRAM Authentication","modified":"2026-02-03T03:08:37.551040Z","packages":[{"ecosystem":"Maven","name":"com.ongres.scram:scram-common","purl":"pkg:maven/com.ongres.scram/scram-common","ranges":["<3.2"],"fixed":["3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}