Description
When PgBouncer is configured to use "cert" authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of TLS certificate verification and encryption. This flaw affects PgBouncer versions prior to 1.16.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | pgbouncer | PgBouncer 1.16.1 | — |
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.16.1-1 | — |
| Debian 13 | pgbouncer | 1.16.1-1 | — |
| Debian 12 | pgbouncer | 1.16.1-1 | — |
| Debian 11 | pgbouncer | 1.15.0-1+deb11u1 | DLA-4180-1 |
| Debian 9 | pgbouncer | 1.7.2-2+deb9u1 | DLA-2922-1 |
Ubuntu
Security tracker ↗| 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 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | pgbouncer | 1.16.1-r0 | — |
| Alpine v3.23 | pgbouncer | 1.16.1-r0 | — |
| Alpine v3.22 | pgbouncer | 1.16.1-r0 | — |
| Alpine v3.21 | pgbouncer | 1.16.1-r0 | — |
| Alpine v3.20 | pgbouncer | 1.16.1-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | pgbouncer | 1.16.1-r0 | — |
| Alpine v3.18 | pgbouncer | 1.16.1-r0 | — |
Advisories 2
- DLA-4180-1 pgbouncer - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2922-1 pgbouncer - security update Debian Security (DSA / DLA) · Mar 9, 2026