Skip to content
8.1 High

CVE-2026-6665 The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the…

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 products and versions

Product Affected versions Fixed in
pgbouncer 1.25 earliest → < 1.25.2 1.25.2

References

Timeline

  1. Published
  2. Last modified
The 13 CVEs of pgbouncer →
Track this CVE