CVE-2026-6668 Integer overflow causes an infinite loop in packet buffer growth in PgBouncer

High 7.5 Published Updated

An integer overflow in PgBouncer allows remote attackers to cause a denial of service by triggering an infinite loop in packet buffer growth.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-6668?

CVE-2026-6668 is a high-severity vulnerability in PgBouncer, published on 23 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-835, CWE-190

Which versions are affected by CVE-2026-6668?

1 open source package ship an affected version, including pgbouncer.

PackageAffectedFixed in
pgbouncer BitnamiAll versions1.26.0

How do I fix CVE-2026-6668?

Upgrade pgbouncer to 1.26.0 or later.

Is CVE-2026-6668 being exploited?

There is no known exploitation of CVE-2026-6668 in the wild and no public exploit code.

Sources

Also known as AZL-103433, BIT-pgbouncer-2026-6668, DEBIAN-CVE-2026-6668, ECHO-0782-8daa-3154, GHSA-r96c-7w9v-wrc8, MINI-jh3j-mqmq-w2wv and 1 more.

Is CVE-2026-6668 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free