Skip to main content
← All vulnerabilities
CVE-2026-6665

PgBouncer buffer overflow in SCRAM

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.25.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a PgBouncer

    fixed in 1.25.2

References 1

pgbouncer.org