Skip to main content

PgBouncer CVE-2026-6665

| EUVD-2026-28877 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-05-09 PostgreSQL GHSA-mhmx-mjv6-w337
8.1
CVSS 3.1
Share

CVSS VectorNVD

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

Lifecycle Timeline

3
Patch available
May 09, 2026 - 02:16 EUVD
Analysis Generated
May 09, 2026 - 01:31 vuln.today
CVE Published
May 09, 2026 - 00:43 nvd
HIGH 8.1

DescriptionNVD

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.

AnalysisAI

Stack overflow in PgBouncer before 1.25.2 enables malicious PostgreSQL backend servers to trigger remote code execution via SCRAM authentication nonce manipulation. The flaw stems from incorrect strlcat() return value checking during SCRAM client-final-message construction. …

Sign in for full analysis, threat intelligence, and remediation guidance.

RemediationAI

Within 24 hours: Inventory all PgBouncer deployments and confirm current versions; assess whether backend PostgreSQL servers are exposed to untrusted networks or compromise risk. Within 7 days: Implement network segmentation to restrict backend PostgreSQL server access to trusted PgBouncer instances only; monitor for suspicious SCRAM authentication attempts. …

Sign in for detailed remediation steps.

Share

CVE-2026-6665 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy