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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ongres | scram | < 3.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libscram-java | 3.2-1 | — |
| Debian 13 | libscram-java | No fix yet | — |
| Debian 12 | libscram-java | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | scram | No fix yet | — |
| Ubuntu 22.04 LTS | scram | No fix yet | — |
| Ubuntu 20.04 LTS | scram | No fix yet | — |
| Ubuntu 18.04 LTS | scram | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | ongres-scram | 2.1-150400.8.5.1 | SUSE-SU-2025:4054-1 |
| SLES 15 SP6 | ongres-scram | 2.1-150400.8.5.1 | SUSE-SU-2025:4054-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | ongres-scram | 3.1-160000.3.1 | SUSE-SU-2025:21016-1 |
| SLES 16.0 | ongres-scram | 3.1-160000.3.1 | SUSE-SU-2025:21016-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ongres-scram | 3.2-7.1 | openSUSE-SU-2025:15680-1 |
| openSUSE Leap 16.0 | ongres-scram | 3.1-160000.3.1 | openSUSE-SU-2025:20059-1 |
| openSUSE Leap 15.6 | ongres-scram | 2.1-150400.8.5.1 | SUSE-SU-2025:4054-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.ongres.scram:scram-common | < 3.2 | 3.2 | GHSA-3wfh-36rx-9537 |
Advisories 5
- WID-SEC-2026-0325 Red Hat Build of Quarkus: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- openSUSE-SU-2025:20059-1 Security update for ongres-scram SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15680-1 ongres-scram-3.2-7.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21016-1 Security update for ongres-scram SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4054-1 Security update for ongres-scram SUSE / openSUSE Security Updates · Feb 4, 2026