Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-6669 EUVD-2026-85364GHSA-58j7-v2vx-r29w

Unbounded SCRAM iteration count causes CPU exhaustion in PgBouncer

Published Sep 23, 2026 · Updated Sep 23, 2026 · Assigned by PostgreSQL

Description

Missing upper bound on the key derivation iteration count accepted during SCRAM authentication to a backend server in PgBouncer through 1.25.2 allows a malicious or compromised PostgreSQL backend to cause uncontrolled CPU consumption in PgBouncer. The resulting key derivation cannot be interrupted in frontend builds such as PgBouncer. Because PgBouncer serves all clients from a single process, one backend can in this way stop it from serving traffic for every other database and client it is pooling, so the failure of a single backend is not contained.

Affected products

VendorProductAffectedFixed
— PgBouncer ≤ 1.25.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pgbouncer 1.26.0-1 —
Debian 13 pgbouncer No fix yet —
Debian 12 pgbouncer No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pgbouncer No fix yet —
Ubuntu 26.04 LTS pgbouncer No fix yet —
Ubuntu 24.04 LTS pgbouncer No fix yet —
Ubuntu 22.04 LTS pgbouncer No fix yet —
Ubuntu 20.04 LTS pgbouncer No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS pgbouncer No fix yet —
Ubuntu 16.04 LTS pgbouncer No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 pgbouncer 1.26.0-0.1.hum1 RHSA-2026:70698

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pgbouncer No fix yet —

Advisories 2

References