Description
An integer overflow in network packet parsing code in PgBouncer before 1.25.2 bypasses a boundary check and can lead to a crash. An unauthenticated remote attacker can crash PgBouncer with a malformed SCRAM authentication packet.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | PgBouncer | < 1.25.2 | 1.25.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pgbouncer | 1.25.2-1 | — |
| Debian 13 | pgbouncer | 1.24.1-1+deb13u2 | — |
| Debian 12 | pgbouncer | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | pgbouncer | No fix yet | — |
| Ubuntu 26.04 LTS | pgbouncer | No fix yet | — |
| Ubuntu 25.10 | pgbouncer | No fix yet | — |
| Ubuntu 24.04 LTS | pgbouncer | No fix yet | — |
| Ubuntu 22.04 LTS | pgbouncer | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | pgbouncer | No fix yet | — |
| Ubuntu 18.04 LTS | pgbouncer | No fix yet | — |
| Ubuntu 16.04 LTS | pgbouncer | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | pgbouncer | 1.25.2-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | pgbouncer | 1.25.1-r1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
nicolasjulian/bouncer-overflow ★ 0 · May 12, 2026
Working POC of CVE-2026-6664 written by Sonnet 4.6
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-1445 PgBouncer: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 12, 2026