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…
Published: 2026-05-09 · CVSS: 8.1 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7