CVE-2026-6666

PgBouncer crash in kill_pool_logins_server_error

Published May 9, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
A possible null pointer reference in PgBouncer before 1.25.2 could lead to a crash, if a server sends an error response without SQLSTATE field.

Analysis

AI-generated

Technical impact

The vulnerability is a null pointer dereference that occurs in PgBouncer’s "kill_pool_logins_server_error" routine when a server returns an error response lacking an SQLSTATE field. This flaw can terminate the PgBouncer process, causing a denial of service. The weakness is classified as CWE‑476, indicating an improper null dereference. The impact is limited to availability disruption; confidentiality or integrity is not compromised.

Affected Systems

The affected product is PgBouncer, as identified by the CNA. Versions prior to 1.25.2 are vulnerable. Affected users running any 1.24.x, 1.25.x, or older releases should verify their current version.

Risk and Exploitability

With a CVSS score of 5.9, the vulnerability carries a moderate severity rating. EPSS data are not available, and the flaw is not listed in the CISA KEV catalog. The likely attack vector involves a server intentionally or unintentionally sending an error response without an SQLSTATE field, which is plausible in a misconfigured or faulty backend. Because the flaw only leads to a crash, it does not provide code execution or data exfiltration, but it can still disrupt service continuity for all connected clients.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PgBouncer to version 1.25.2 or later, the first release that addresses the crash vulnerability.
  • Ensure backend servers are configured to include SQLSTATE in error responses to avoid the null dereference scenario.
  • Implement process monitoring to automatically restart PgBouncer if a crash occurs, providing rapid restoration of service.

Generated by OpenCVE AI on May 9, 2026 at 03:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Pgbouncer
Pgbouncer pgbouncer
Vendors & Products Pgbouncer
Pgbouncer pgbouncer
Type Values Removed Values Added
Description A possible null pointer reference in PgBouncer before 1.25.2 could lead to a crash, if a server sends an error response without SQLSTATE field.
Title PgBouncer crash in kill_pool_logins_server_error
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
May 11, 2026, 2:44 PM
Reserved
Apr 20, 2026, 12:25 PM
Status
Analyzed
Published
May 9, 2026, 1:16 AM
Modified
Jul 24, 2026, 8:10 AM