CVE-2026-6665

PgBouncer buffer overflow in SCRAM

CVE-2026-6665 is fixed in pgbouncer on 1 platform, first by DEBIAN-CVE-2026-6665, released May 27, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
9.8
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0037
31st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
pgbouncer · Debian 13.5 (trixie) 1.24.1-1+deb13u2 DEBIAN-CVE-2026-6665 May 27, 2026
pgbouncer · Debian 14 1.25.2-1 DEBIAN-CVE-2026-6665 May 27, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.