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

- Severity: High 7.5 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-09-23T16:04:47.158Z
- Modified: 2026-10-01T10:00:08.885Z
- Also known as: BIT-PGBOUNCER-2026-6668
- Weaknesses: CWE-190, CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: PostgreSQL

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

(As written by CVE List.)

## Affected

- PgBouncer: up to 1.25.2
- pgbouncer (Bitnami): before 1.26.0

## Every score

- PostgreSQL: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://www.pgbouncer.org/changelog.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6668> (web)

## Sources

- CVE List: [CVE-2026-6668](https://www.cve.org/CVERecord?id=CVE-2026-6668), CVE Terms of Use, modified 2026-09-23
- NVD: [CVE-2026-6668](https://nvd.nist.gov/vuln/detail/CVE-2026-6668), Public domain, modified 2026-09-23
- Bitnami Vulnerability Database: [BIT-PGBOUNCER-2026-6668](https://osv.dev/vulnerability/BIT-PGBOUNCER-2026-6668), Apache-2.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-6668 · Whole record: https://cve.day/CVE-2026-6668.json · Rebuilt by cve.day 2026-11-25T22:59:40.637Z
