Home / mailings [USN-9435-1] PgBouncer vulnerabilities
Posted on 03 December 2026
Ubuntu Security==========================================================================Ubuntu Security Notice USN-9435-1
December 02, 2026
pgbouncer vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
Summary:
Several security issues were fixed in PgBouncer.
Software Description:
- pgbouncer: lightweight connection pooler for PostgreSQL
Details:
It was discovered that PgBouncer incorrectly handled connections when
configured to use certificate authentication. A machine-in-the-middle
attacker could possibly use this issue to inject arbitrary SQL queries when
a connection was first established. This issue only affected Ubuntu 16.04
LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2021-3935)
It was discovered that PgBouncer did not properly handle password expiry
when authenticating users. An attacker could possibly use this issue to log
in with an expired password. (CVE-2025-2291)
It was discovered that PgBouncer incorrectly handled certain parameters
sent during authentication. An unauthenticated attacker could possibly use
this issue to execute arbitrary SQL. (CVE-2025-12819)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 24.04 LTS
pgbouncer 1.22.0-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 22.04 LTS
pgbouncer 1.16.1-1ubuntu1+esm1
Available with Ubuntu Pro
Ubuntu 20.04 LTS
pgbouncer 1.12.0-3ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 18.04 LTS
pgbouncer 1.8.1-1ubuntu0.1~esm1
Available with Ubuntu Pro
Ubuntu 16.04 LTS
pgbouncer 1.7-1ubuntu0.1~esm1
Available with Ubuntu Pro
After a standard system update you need to restart PgBouncer to make all
the necessary changes.
References:
https://ubuntu.com/security/notices/USN-9435-1
CVE-2021-3935, CVE-2025-12819, CVE-2025-2291
--===============4711430144118917415==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
