CVE 8.1 HIGH

PgBouncer buffer overflow in SCRAM_CVE-2026-6665

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

Description

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.

Basic Information

ID CVE-2026-6665
Source PostgreSQL
Published May 9, 2026 at 00:43

Affected Product

Vendor n/a
Product PgBouncer
Affected Versions n/a PgBouncer 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.