Skip to content
OpenAdvisories
Unscored USN-9435-1 0 CVEs

pgbouncer vulnerabilities

Published Dec 2, 2026 · Updated Dec 3, 2026

Summary

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)

Fixed packages 5

ReleasePackageFixed in
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS pgbouncer 1.7-1ubuntu0.1~esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS pgbouncer 1.8.1-1ubuntu0.1~esm1
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS pgbouncer 1.12.0-3ubuntu0.1~esm1
Ubuntu · Pro 22.04 LTS Pro:22.04:LTS pgbouncer 1.16.1-1ubuntu1+esm1
Ubuntu · Pro 24.04 LTS Pro:24.04:LTS pgbouncer 1.22.0-1ubuntu0.1~esm1

References

  • report
    https://ubuntu.com/security/CVE-2021-3935
  • report
    https://ubuntu.com/security/CVE-2025-2291
  • report
    https://ubuntu.com/security/CVE-2025-12819