CVE-2026-6665 HIGH

CVE-2026-6665: PgBouncer buffer overflow in SCRAM

Vendor N/A
Product PgBouncer
Weakness CWE-121
Published May 9, 2026
Last update May 12, 2026

CVSS base score

8.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 9, 2026 CVE published
May 12, 2026 Record updated