CVE-2026-6665
CRITICAL9.8EPSS 0.02%PgBouncer buffer overflow in SCRAM
Published: 5/9/2026Modified: 5/16/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.
Affected packages (2)
- Bitnami/pgbouncerfrom 0, < 1.25.2
- Debian/pgbouncerfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |