CVE-2026-6665
High
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.
SeverityHigh
CVSS8.1
Exploit probability—
ProductPgbouncer
PublishedMay 9, 2026
First seenMay 9, 2026
Weakness typeCWE-121CWE-121
How to fix
Update
- pgbouncer pgbouncer1.25.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pgbouncer pgbouncer | v < 1.25.2 | 1.25.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.