CVE-2026-6665

published 9 May 2026 · updated 13 May 2026

PgBouncer buffer overflow in SCRAM

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.25.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<1.25.21.25.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-6665 severity on Zeptric[![CVE-2026-6665](https://zeptric.io/badge/cve/CVE-2026-6665.svg)](https://zeptric.io/cve/CVE-2026-6665)