CVE-2026-6665 Affecting pgbouncer package, versions <1.24.1-1+deb13u2


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.44% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PGBOUNCER-20138269
  • published25 Sept 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

CVE-2026-6665  (opens in a new tab)

How to fix?

Upgrade Echo:latest pgbouncer to version 1.24.1-1+deb13u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pgbouncer package and not the pgbouncer package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1