CVE catalog

CVE-2025-59432

libscram-java: CVE-2025-59432

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.70% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibscram-javasid3.4-1fixed
Debianlibscram-javaforky3.4-1fixed
Debianlibscram-javatrixie3.1-1vulnerable
Debianlibscram-javabookworm2.1-1vulnerable
Opensuseongres-scramleap 16.03.1-160000.3.1fixed
Opensuseongres-scramtumbleweed3.2-7.1fixed
Suseongres-scramlinux enterprise server 16.03.1-160000.3.1fixed
Suseongres-scramlinux enterprise server for sap applications 16.03.1-160000.3.1fixed
Suseongres-scramlinux enterprise module for server applications 15 sp62.1-150400.8.5.1fixed
Suseongres-scramlinux enterprise module for server applications 15 sp72.1-150400.8.5.1fixed
Opensuseongres-scramleap 15.62.1-150400.8.5.1fixed
Ubuntuscram18.040.15.0-1vulnerable
Ubuntuscram18.040.15.0-1build1vulnerable
Ubuntuscram18.040.16.0-1vulnerable
Ubuntuscram18.040.16.2-1vulnerable
Ubuntuscram20.040.16.2-1build1vulnerable
Ubuntuscram20.040.16.2-1build2vulnerable
Ubuntuscram22.040.16.2-3vulnerable
Ubuntuscram24.040.16.2-3vulnerable
Ubuntuscram24.040.16.2-3build1vulnerable
Ubuntuscram24.040.16.2-3build3vulnerable
Ubuntuscram24.040.16.2-3build4vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibscram-javasourcesid3.2-1not yet assignedNot reported[1116054]
Debianlibscram-javasourceforky3.2-1not yet assignedNot reported[1116054]
Debianlibscram-javasourcetrixie(unfixed)not yet assignedNot reported[1116054]
Debianlibscram-javasourcebookworm(unfixed)not yet assignedNot reported[1116054]
Opensuseongres-scramrpmleap 16.03.1-160000.3.1Not reportedOPENSUSE-SU-2025:20059-1Not reported
Opensuseongres-scramrpmtumbleweed3.2-7.1Not reportedOPENSUSE-SU-2025:15680-1Not reported
Suseongres-scramrpmlinux enterprise server 16.03.1-160000.3.1Not reportedSUSE-SU-2025:21016-1Not reported
Suseongres-scramrpmlinux enterprise server for sap applications 16.03.1-160000.3.1Not reportedSUSE-SU-2025:21016-1Not reported
Suseongres-scramrpmlinux enterprise module for server applications 15 sp62.1-150400.8.5.1Not reportedSUSE-SU-2025:4054-1Not reported
Suseongres-scramrpmlinux enterprise module for server applications 15 sp72.1-150400.8.5.1Not reportedSUSE-SU-2025:4054-1Not reported
Opensuseongres-scramrpmleap 15.62.1-150400.8.5.1Not reportedSUSE-SU-2025:4054-1Not reported

[Debian bug #1116054]

Notes

[trixie] libscram-java: Minor issue [bookworm] libscram-java: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libscram-java]Affected
    Details (2)
    • 2.1-1 · all · bookworm

      Affected

      dsa · libscram-java · debian · bookworm; dsa · libscram-java · debian · 12

    • 2.1-1 · all · bookworm

      Affected

      dsa · libscram-java · debian · bookworm; dsa · libscram-java · debian · 12

[Debian 13 (Trixie)]

  • [libscram-java]Affected
    Details (2)
    • 3.1-1 · all · trixie

      Affected

      dsa · libscram-java · debian · 13

    • 3.1-1 · all · trixie

      Affected

      dsa · libscram-java · debian · 13

[openSUSE Tumbleweed]

  • Source package: [ongres-scram]

    Details (1)
    • 3.2-7.4 · noarch · tumbleweed

      Unknown · Fixed: 3.2-7.1

      Version impact unknown

      dsa · ongres-scram · opensuse · tumbleweed

  • Source package: [ongres-scram]

    Details (1)
    • 3.2-7.4 · noarch · tumbleweed

      Unknown · Fixed: 3.2-7.1

      Version impact unknown

      dsa · ongres-scram · opensuse · tumbleweed

  • Source package: [ongres-scram]

    Details (1)
    • 3.2-7.4 · noarch · tumbleweed

      Fixed · Fixed: 3.2-7.1

      dsa · ongres-scram · opensuse · tumbleweed

Observed:

References