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

Published Sep 23, 2026
·
Updated

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 Software

1 affected component
PgBouncer PgBouncer<=1.25.2

Event History

Sep 23, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An unauthenticated remote attacker can trigger the denial of service. Authenticated code paths can also reach the overflow, so restricting client authentication does not eliminate exposure.

2

What is the operational impact if exploitation succeeds?

The non-terminating buffer-growth loop saturates a CPU core and stalls every pooled connection because PgBouncer serves clients from a single process. Service remains stalled until the PgBouncer process is killed.

3

Which deployments are affected?

PgBouncer through version 1.25.2 is affected. The issue is reachable through both unauthenticated and authenticated paths.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203