Description
Missing upper bound on the key derivation iteration count accepted during SCRAM authentication to a backend server in PgBouncer through 1.25.2 allows a malicious or compromised PostgreSQL backend to cause uncontrolled CPU consumption in PgBouncer. The resulting key derivation cannot be interrupted in frontend builds such as PgBouncer. Because PgBouncer serves all clients from a single process, one backend can in this way stop it from serving traffic for every other database and client it is pooling, so the failure of a single backend is not contained.
Published: 2026-09-23
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: Uncontrolled CPU exhaustion leading to denial of service
Action: Apply patch
AI Analysis

Impact

The vulnerability is an unbounded SCRAM iteration count accepted during authentication to a backend server. The absence of an upper bound enables a malicious or compromised PostgreSQL backend to cause uncontrolled CPU consumption in PgBouncer. The key derivation cannot be interrupted and, because PgBouncer runs as a single process, the excessive workload from one backend can stall the entire service, preventing all connected clients from being served. The issue affects PgBouncer versions up through 1.25.2. The product is PgBouncer, a connection pooler for PostgreSQL. The vulnerability is reported for all builds that use the frontend process without a set limit, and it applies specifically to the SCRAM authentication mechanism. The CVSS score of 5.9 indicates moderate severity; the EPSS score is missing, so the exploitation probability is undetermined. The vulnerability is listed as not in the CISA KEV catalog. Attackers with control over a backend server can exploit the flaw by configuring an exceptionally high SCRAM iteration count in the authentication request; this would cause PgBouncer to consume excessive CPU resources until it becomes unresponsive to other clients.

Affected Systems

The affected product is PgBouncer, the PostgreSQL connection pooler, in all releases up through version 1.25.2. Any deployment using the frontend build without an upper bound on the SCRAM iteration count during authentication is vulnerable.

Risk and Exploitability

The moderate severity CVSS score of 5.9 reflects the potential for a denial of service, yet the EPSS score is currently unavailable, meaning the likelihood of exploitation in the wild is unknown. The vulnerability is not listed in CISA’s KEV catalog. The likely exploitation scenario involves a malicious or compromised PostgreSQL backend that sets an unusually high SCRAM iteration count during the authentication handshake observed by PgBouncer. Because PgBouncer’s key derivation routine cannot be interrupted, this produces a sustained CPU drain that stalls the single-process service and deprives all connected clients of service. The primary attack vector is therefore an internal or compromised backend server; an external attacker would need to gain control of such a backend to trigger the effect.

Generated by OpenCVE AI on September 24, 2026 at 01:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PgBouncer to version 1.25.3 or later to enforce a maximum SCRAM iteration count.
  • Configure the PostgreSQL backend to limit SCRAM iterations to a safe threshold such as 100,000.
  • Restart PgBouncer after configuration changes so the new limits take effect.
  • Continuously monitor CPU usage and PgBouncer logs for abnormal spikes, and isolate or throttle any backend that exceeds expected computational load.

Generated by OpenCVE AI on September 24, 2026 at 01:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-835
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 23 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Pgbouncer
Pgbouncer pgbouncer
Vendors & Products Pgbouncer
Pgbouncer pgbouncer

Wed, 23 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 23 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description Missing upper bound on the key derivation iteration count accepted during SCRAM authentication to a backend server in PgBouncer through 1.25.2 allows a malicious or compromised PostgreSQL backend to cause uncontrolled CPU consumption in PgBouncer. The resulting key derivation cannot be interrupted in frontend builds such as PgBouncer. Because PgBouncer serves all clients from a single process, one backend can in this way stop it from serving traffic for every other database and client it is pooling, so the failure of a single backend is not contained.
Title Unbounded SCRAM iteration count causes CPU exhaustion in PgBouncer
Weaknesses CWE-400
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'}


Subscriptions

Pgbouncer Pgbouncer
cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-09-23T16:46:13.708Z

Reserved: 2026-04-20T12:25:47.129Z

Link: CVE-2026-6669

cve-icon Vulnrichment

Updated: 2026-09-23T16:36:50.297Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-23T17:17:16.223

Modified: 2026-09-23T19:40:10.000

Link: CVE-2026-6669

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-23T16:04:47Z

Links: CVE-2026-6669 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-24T02:00:14Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')