Integer overflow causes an infinite loop in packet buffer growth in PgBouncer
PgBouncer
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| PgBouncer |
| No fix yet |
Original 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.
From the CVE record · PostgreSQL