CVE catalog

CVE-2026-6665

The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the contents of the SCRAM client-final-message. A malicious backend that sends a SCRAM ser

[CVE catalog]

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

The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the contents of the SCRAM client-final-message. A malicious backend that sends a SCRAM server-final-message with a long nonce can trigger a stack overflow.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianpgbouncersid1.26.1-1fixed
Debianpgbouncerforky1.26.1-1fixed
Debianpgbouncertrixie1.24.1-1+deb13u2fixed
Debianpgbouncerbookworm1.18.0-1+deb12u1vulnerable
CpepgbouncerNot reportedNot reportedvulnerable
CpepgbouncerNot reported1.25.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpgbouncersourcesid1.25.2-1not yet assignedNot reported[1136075]
Debianpgbouncersourceforky1.25.2-1not yet assignedNot reported[1136075]
Debianpgbouncersourcetrixie1.24.1-1+deb13u2not yet assignedNot reported[1136075]
Debianpgbouncersourcebookworm(unfixed)not yet assignedNot reported[1136075]
CpepgbouncercpeNot reported1.25.2Not reportedNot reportedNot reported

[Debian bug #1136075]

Notes

[bookworm] pgbouncer: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [pgbouncer]Affected
    Details (2)
    • 1.18.0-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · pgbouncer · debian · bookworm; nvd · pgbouncer · debian · 12

    • 1.18.0-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · pgbouncer · debian · bookworm; nvd · pgbouncer · debian · 12

[Debian 13 (Trixie)]

  • [pgbouncer]Fixed
    Details (2)
    • 1.24.1-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 1.24.1-1+deb13u2

      nvd · pgbouncer · debian · 13

    • 1.24.1-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 1.24.1-1+deb13u2

      nvd · pgbouncer · debian · 13

Observed:

References