CVE-2026-6668

NameCVE-2026-6668
DescriptionInteger 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1148946

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pgbouncer (PTS)bookworm1.18.0-1+deb12u1vulnerable
trixie1.24.1-1+deb13u2vulnerable
forky1.26.0-6fixed
sid1.26.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pgbouncersource(unstable)1.26.0-11148946

Notes

Fixed by: https://github.com/pgbouncer/pgbouncer/commit/f2ff5538b0abc262e84dab4e946999dfbd3b0e18 (pgbouncer_1_26_0)

Search for package or bug name: Reporting problems