๐Ÿ” CVE Alert

CVE-2026-6665

HIGH 8.1

PgBouncer buffer overflow in SCRAM

CVSS Score
8.1
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-121
Vendor n/a
Product pgbouncer
Published May 9, 2026
Stay Ahead of the Next One

Get instant alerts for n/a pgbouncer

Be the first to know when new high vulnerabilities affecting n/a pgbouncer are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

n/a / PgBouncer
0 < 1.25.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
pgbouncer.org: https://www.pgbouncer.org/changelog.html#pgbouncer-125x

Credits

Thanks to HarutoKimura for finding and reporting this problem.