🛡️ CVE-2026-6665 — pgbouncer
Description
PgBouncer buffer overflow in SCRAM
The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the contents of the SCRAM client-final-message. A malicious backend that sends a SCRAM server-final-message with a long nonce can trigger a stack overflow.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2026-6665 is classified as CWE-121: Stack-based Buffer Overflow. An oversized write to a stack buffer overwrites saved state such as return addresses, which can redirect execution.
Affected software
CVE-2026-6665 is recorded against 2 packages.
- pgbouncer
- unknown
Timeline and source
Published on 12 May 2026 and last revised on 24 July 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
CVE-2026-6665 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| pgbouncer | — | — |
| unknown | — | — |
References
Similar Threats
- Unknown CLEANSTART-2026-DH31041
- Unknown CLEANSTART-2026-DL78780
- Unknown CGA-jjrw-876g-44fx
- Unknown CGA-p583-97jg-mgff
- Unknown CGA-v32q-mw5w-chh5
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Exploit Protection
Are you running pgbouncer?
CVE-2026-6665 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2026-6665 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.