CVE-2026-6665
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.
- Score
- CVSS 3.1 9.8 Critical
- Status
- Analyzed - f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- Published
- 2026-05-09
- Last modified
- 2026-05-12
- Weaknesses
- CWE-121
Affected products
References
- https://www.pgbouncer.org/changelog.html#pgbouncer-125x