HarborGuard / CVE
Back to search
HIGHCVE-2026-6665Published Modified CNA PostgreSQL

CVE-2026-6665: PgBouncer buffer overflow in SCRAM

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.

Metrics

CVSS v3.1
8.1
Severity
HIGH
Fixed in
1.25.2
Affected Products
1

Fix available

1.25.2
Affected packages
  • n/a / PgBouncer
    < 1.25.2 (from 0)
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References