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.
References
| Link | Resource |
|---|---|
| https://www.pgbouncer.org/changelog.html#pgbouncer-125x | Release Notes |
Configurations
History
No history.
Information
Published : 2026-05-09 01:16
Updated : 2026-07-24 08:10
NVD link : CVE-2026-6665
Mitre link : CVE-2026-6665
CVE.ORG link : CVE-2026-6665
JSON object : View
Products Affected
pgbouncer
- pgbouncer
CWE
CWE-121
Stack-based Buffer Overflow
