Skip to content
OpenAdvisories
High · 7.5 CVE-2026-6668 EUVD-2026-85363GHSA-r96c-7w9v-wrc8

Integer overflow causes an infinite loop in packet buffer growth in PgBouncer

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

Description

Integer overflow in the packet buffer growth logic in PgBouncer through 1.25.2 allows an unauthenticated remote attacker to cause a denial of service. Sufficiently large input makes the buffer size computation overflow, leaving the growth loop unable to terminate. Because PgBouncer serves all clients from a single process, this saturates a CPU core and stalls every pooled connection until the process is killed. Both unauthenticated and authenticated code paths can reach the overflow.

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 1.26.0-1 —

Advisories 2

References