Integer overflow causes an infinite loop in packet buffer growth in PgBouncer
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.
BIT-pgbouncer-2026-6668
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:BIT-pgbouncer-2026-6668
pgbouncer
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.26.0
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.26.0"
}
]
}
],
"package": {
"name": "pgbouncer",
"purl": "pkg:bitnami/pgbouncer",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/pgbouncer/BIT-pgbouncer-2026-6668.json"
}
}
]- Related CVEs
- CVE-2026-6668
Source reference:
/aliases
Publisher severity
high
Source reference: /database_specific/severity
- Event
- #59519 · Revision 1
- Added to Heist Feed
- Publisher date