CVE-2026-6668
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | PgBouncer | 0 <= 1.25.2 | affected |
Weaknesses
- CWE-190: Integer Overflow or Wraparound
- CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Workarounds
Set max_packet_size well below 1073741824 so that no single packet can grow a packet buffer past the overflow threshold
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.