CVEvulnerability
CVE-2026-6665
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2026-05-09
- Last modified
- 2026-07-24
- Assigner
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- CVSS 3.1 (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-121
Description
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.
Affected configurations
• pgbouncer pgbouncer (< 1.25.2)
Related
Weakness · CWE (1)
- CWE-121 Stack-based Buffer Overflow weakness
References
- https://www.pgbouncer.org/changelog.html#pgbouncer-125x Release Notes