Skip to content
CVE PROGRAM SOURCE RECORD8.1 High

CVE-2026-6665

PgBouncer buffer overflow in SCRAM

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a PgBouncer

Default version status: unaffected

  • 0 to < 1.25.2affected

References