Timing Attack Vulnerability in SCRAM Authentication
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 fixed, 8 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-208.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ongres | scram | before 3.2 | 3.2 | Patch available | CNA |
| — | com.ongres.scram:scram-common (Maven) | before 3.2 | 3.2 | Patch available | GHSA-3wfh-36rx-9537 |
- scram Vendorongres Affected before 3.2 Fixed in 3.2 Patch available CNA
- com.ongres.scram:scram-common (Maven) Vendor— Affected before 3.2 Fixed in 3.2 Patch available GHSA-3wfh-36rx-9537
Remediation
- Fix · CNA scram (ongres) Fixed in 3.2
- Fix · GHSA-3wfh-36rx-9537 com.ongres.scram:scram-common (Maven) Fixed in 3.2 Advisory →
Red Hat 2 advisories
- RHSA-2026:1965 Released 2026-02-05 · Red Hat rating ModerateRed Hat build of Quarkus 3.27.2 release and security update
- Red Hat build of Quarkus 3.27.2.redhat com.ongres.scram.scram-common-3.2.0.redhat-00001.jar, io.netty.netty-codec-http-4.1.130.Final-redhat-00001.jar, io.quarkus.quarkus-rest-3.27.2.redhat-00001.jar +1
- RHSA-2026:1899 Released 2026-02-05 · Red Hat rating ModerateRed Hat build of Quarkus 3.20.5 release and security update
- Red Hat build of Quarkus 3.20.5.redhat com.ongres.scram.scram-common-3.2.0.redhat-00001.jar, io.netty.netty-codec-http-4.1.130.Final-redhat-00001.jar, io.quarkus.quarkus-rest-3.20.5.redhat-00001.jar
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform 8 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel 4 for Quarkus 3 | Affected | No fix yet: Fix deferred |
| Red Hat build of Quarkus | Affected | No fix yet: Fix deferred |
| Red Hat build of Quarkus 3.20.5.redhat | Fixed | RHSA-2026:1899 |
| Red Hat build of Quarkus 3.27.2.redhat | Fixed | RHSA-2026:1965 |
Not affected: 2 products
- Red Hat build of Quarkus 3.20.5.redhat
- Red Hat build of Quarkus 3.27.2.redhat
Timeline
- 2026-10-02 Threatist record created from CVE-2025-59432
- 2026-10-03 Alias added: GHSA-3wfh-36rx-9537
- 2026-10-20 Fix available: Red Hat build of Quarkus 3.20.5.redhat, Red Hat build of Quarkus 3.27.2.redhat · Red Hat
References
Other 4
- https://github.com/ongres/scram/security/advisories/GHSA-3wfh-36rx-9537
- https://github.com/ongres/scram/commit/e0b0cf99f05406a0d26682c72fcb5728e95124b3
- 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
More ongres vulnerabilities
- TI-2026-54356 Untrusted Search Path in StackGres CVSS 3.1CRITICAL 9.9
- TI-2026-38732 SCRAM: Silent channel-binding authentication downgrade via unsupported certificate algorithms CVSS 4.0HIGH 8.2
Sources
- CVE-2025-59432 · CVE Program
- CVE-2025-59432 · NVD
- FIRST EPSS
- GHSA-3wfh-36rx-9537 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-59432 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences