
CVE catalog
CVE-2025-12819
pgbouncer: CVE-2025-12819
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.36% · Oct 25, 2026
Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker to execute arbitrary SQL during authentication via a malicious search_path parameter in the StartupMessage.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pgbouncer | sid | 1.26.1-1 | fixed |
| Debian | pgbouncer | forky | 1.26.1-1 | fixed |
| Debian | pgbouncer | trixie | 1.24.1-1+deb13u2 | fixed |
| Debian | pgbouncer | bookworm | 1.18.0-1+deb12u1 | fixed |
| Cpe | pgbouncer | Not reported | 1.25.1 | fixed |
| Ubuntu | pgbouncer | 16.04 | 1.5.5-1 | vulnerable |
| Ubuntu | pgbouncer | 16.04 | 1.6.1-1 | vulnerable |
| Ubuntu | pgbouncer | 16.04 | 1.7-1 | vulnerable |
| Ubuntu | pgbouncer | 18.04 | 1.7.2-3build1 | vulnerable |
| Ubuntu | pgbouncer | 18.04 | 1.7.2-65-g2b8e6cf-1 | vulnerable |
| Ubuntu | pgbouncer | 18.04 | 1.8.1-1 | vulnerable |
| Ubuntu | pgbouncer | 18.04 | 1.8.1-1build1 | vulnerable |
| Ubuntu | pgbouncer | 20.04 | 1.10.0-1 | vulnerable |
| Ubuntu | pgbouncer | 20.04 | 1.10.0-1build1 | vulnerable |
| Ubuntu | pgbouncer | 20.04 | 1.11.0-1 | vulnerable |
| Ubuntu | pgbouncer | 20.04 | 1.12.0-2 | vulnerable |
| Ubuntu | pgbouncer | 20.04 | 1.12.0-3 | vulnerable |
| Ubuntu | pgbouncer | 22.04 | 1.15.0-1 | vulnerable |
| Ubuntu | pgbouncer | 22.04 | 1.16.1-1ubuntu1 | vulnerable |
| Ubuntu | pgbouncer | 24.04 | 1.20.0-1 | vulnerable |
| Ubuntu | pgbouncer | 24.04 | 1.21.0-1 | vulnerable |
| Ubuntu | pgbouncer | 24.04 | 1.22.0-1 | vulnerable |
| Ubuntu | pgbouncer | 24.04 | 1.22.0-1build1 | vulnerable |
| Ubuntu | pgbouncer | 24.04 | 1.22.0-1build3 | vulnerable |
| Ubuntu | pgbouncer | 24.04 | 1.22.0-1build4 | vulnerable |
| Ubuntu | pgbouncer | 25.10 | 1.24.0-3 | vulnerable |
| Ubuntu | pgbouncer | 25.10 | 1.24.1-1 | vulnerable |
| Ubuntu | pgbouncer | 26.04 | 1.24.1-1 | vulnerable |
| Ubuntu | pgbouncer | 26.04 | 1.25.0-2 | vulnerable |
| Ubuntu | pgbouncer | 26.04 | 1.25.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pgbouncer | source | sid | 1.25.1-1 | not yet assigned | Not reported | Not reported |
| Debian | pgbouncer | source | forky | 1.25.1-1 | not yet assigned | Not reported | Not reported |
| Debian | pgbouncer | source | trixie | 1.24.1-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | pgbouncer | source | bookworm | 1.18.0-1+deb12u1 | not yet assigned | Not reported | Not reported |
| Cpe | pgbouncer | cpe | Not reported | 1.25.1 | Not reported | NVD-CVE-2025-12819 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [pgbouncer]Fixed
Details (2)
1.18.0-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.18.0-1+deb12u1dsa · pgbouncer · debian · bookworm; dsa · pgbouncer · debian · 12
1.18.0-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.18.0-1+deb12u1dsa · pgbouncer · debian · bookworm; dsa · pgbouncer · debian · 12
[Debian 13 (Trixie)]
- [pgbouncer]Fixed
Details (2)
1.24.1-1+deb13u2· amd64 · trixieFixed · Fixed:
1.24.1-1+deb13u1dsa · pgbouncer · debian · 13
1.24.1-1+deb13u2· arm64 · trixieFixed · Fixed:
1.24.1-1+deb13u1dsa · pgbouncer · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2025-12819]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-12819]
- [https://osv.dev/vulnerability/DLA-4422-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-12819]
- [https://security-tracker.debian.org/tracker/CVE-2025-12819]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-12819.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-2734.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]