CVEfocus › CVE database › CVE-2025-59432

CVE-2025-59432Timing Attack Vulnerability in SCRAM Authentication

CVSS 6.6 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2025-09-22Updated 2026-01-23Assigner: GitHub_M

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.

CWE-208CWE-385

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
11Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04scramUnder investigationUBUNTU-CVE-2025-59432
Ubuntu 22.04scramUnder investigationUBUNTU-CVE-2025-59432
Ubuntu 20.04scramFix pendingUBUNTU-CVE-2025-59432
Ubuntu 18.04scramFix pendingUBUNTU-CVE-2025-59432
Debian 14libscram-javaFixed3.2-1DEBIAN-CVE-2025-59432
Debian 13libscram-javaFix pendingDEBIAN-CVE-2025-59432
Debian 12libscram-javaFix pendingDEBIAN-CVE-2025-59432
Red Hat Enterprise Linux 10ongres-scramFix pending
Fix deferred
Red Hat Enterprise Linux 10ongres-scram-clientFix pending
Fix deferred
Red Hat Enterprise Linux 10postgresql-jdbcFix pending
Fix deferred
Red Hat Enterprise Linux 9ongres-scramFix pending
Fix deferred
Red Hat Enterprise Linux 9ongres-scram-clientFix pending
Fix deferred
Red Hat Enterprise Linux 8ongres-scramFix pending
Fix deferred
Red Hat Enterprise Linux 8ongres-scram-clientFix pending
Fix deferred
Maven librarycom.ongres.scram:scram-commonFixed3.2GHSA-3wfh-36rx-9537

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.