Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.ongres.scram/scram-common
  4. ›
  5. CVE-2025-59432

CVE-2025-59432: Timing Attack Vulnerability in SCRAM Authentication

September 16, 2025 (updated January 23, 2026)

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.

References

  • docs.oracle.com/en/java/javase/25/docs/api/java.base/java/security/MessageDigest.html
  • github.com/advisories/GHSA-3wfh-36rx-9537
  • github.com/ongres/scram
  • github.com/ongres/scram/commit/e0b0cf99f05406a0d26682c72fcb5728e95124b3
  • github.com/ongres/scram/security/advisories/GHSA-3wfh-36rx-9537
  • nvd.nist.gov/vuln/detail/CVE-2025-59432

Code Behaviors & Features

Detect and mitigate CVE-2025-59432 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.2

Fixed versions

  • 3.2

Solution

Upgrade to version 3.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy
  • CWE-385: Covert Timing Channel

Source file

maven/com.ongres.scram/scram-common/CVE-2025-59432.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:30 +0000.