CVE-2026-6665

Severity CVSS v4.0:
Pending analysis
Type:
CWE-121 Stack-based Buffer Overflow
Publication date:
09/05/2026
Last modified:
14/05/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:* 1.25.2 (excluding)


References to Advisories, Solutions, and Tools