Back
CVE-2021-3935
When PgBouncer is configured to use "cert" authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection…
High8.1EPSS 1.1%
- Published
- Updated
- Reserved
- Assigned by
- fedora
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.
Timeline
ID reserved
By fedora
- 14 days later
· 14 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.1% · top 34% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Weakness
Affected products
pgbouncer
- affected PgBouncer 1.16.1
References (5)
- https://bugzilla.redhat.com/show_bug.cgi?id=2021251 (opens in a new tab)x_refsource_MISCx_transferred
- http://www.pgbouncer.org/changelog.html#pgbouncer-116x (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-761cda0b77 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [debian-lts-announce] 20220214 [SECURITY] [DLA 2922-1] pgbouncer security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-3935)Record last updated .