CVE-2026-6669: Unbounded SCRAM iteration count causes CPU exhaustion in PgBouncer

Published Sep 23, 2026
·
Updated

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.

Affected Software

1 affected component
PgBouncer PgBouncer<=1.25.2

Event History

Sep 23, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

The attacker must control or compromise a PostgreSQL backend that PgBouncer authenticates to using SCRAM. That backend can supply an excessively large key-derivation iteration count during authentication, causing PgBouncer to consume CPU.

2

What is the operational impact on a shared PgBouncer instance?

A single affected backend can prevent the PgBouncer process from serving traffic for every database and client it pools. The issue is not contained to connections for the malicious or compromised backend.

3

Can the CPU-intensive operation be interrupted once it starts?

No. In frontend builds such as PgBouncer, the resulting key derivation cannot be interrupted.

4

Which versions are affected?

PgBouncer through version 1.25.2 is affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203