CVE-2026-107349Infinite loop on empty option name in startup options parameter in PgBouncer
An infinite loop in PgBouncer 1.20.0 through 1.26.0 allows an unauthenticated remote attacker to cause a denial of service. A StartupMessage whose options parameter contains an empty parameter name, such as "-c=", makes the ignore_startup_parameters list lookup loop forever. Because PgBouncer serves all clients from a single process, this saturates a CPU core and makes PgBouncer unresponsive to all clients until the process is restarted.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | pgbouncer | Fix pending | UBUNTU-CVE-2026-107349 | |
| Ubuntu 26.04 | pgbouncer | Under investigation | UBUNTU-CVE-2026-107349 | |
| Ubuntu 24.04 | pgbouncer | Under investigation | UBUNTU-CVE-2026-107349 | |
| Ubuntu 22.04 | pgbouncer | Under investigation | UBUNTU-CVE-2026-107349 | |
| Ubuntu 20.04 | pgbouncer | Fix pending | UBUNTU-CVE-2026-107349 | |
| Ubuntu 18.04 | pgbouncer | Fix pending | UBUNTU-CVE-2026-107349 | |
| Ubuntu 16.04 | pgbouncer | Fix pending | UBUNTU-CVE-2026-107349 | |
| Debian 14 | pgbouncer | Fixed | 1.26.1-1 | DEBIAN-CVE-2026-107349 |
| Debian 13 | pgbouncer | Fix pending | DEBIAN-CVE-2026-107349 | |
| Debian 12 | pgbouncer | Fix pending | DEBIAN-CVE-2026-107349 |
What the vendor says
As published in the CVE record by PostgreSQL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- PgBouncer: affected: 1.20.0 to before 1.26.1; fixed in
1.26.1
Workaround: Either add options to ignore_startup_parameters, or set ignore_startup_parameters to an empty value.
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.