CVE-2026-6665

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*

History

14 May 2026, 18:52

Type Values Removed Values Added
First Time Pgbouncer
Pgbouncer pgbouncer
References () https://www.pgbouncer.org/changelog.html#pgbouncer-125x - () https://www.pgbouncer.org/changelog.html#pgbouncer-125x - Release Notes
CPE cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*

09 May 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-09 01:16

Updated : 2026-05-14 18:52


NVD link : CVE-2026-6665

Mitre link : CVE-2026-6665

CVE.ORG link : CVE-2026-6665


JSON object : View

Products Affected

pgbouncer

  • pgbouncer
CWE
CWE-121

Stack-based Buffer Overflow