CVE-2026-6665
published high CVSS 3.1 · 8.1PgBouncer buffer overflow in SCRAM
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PgBouncer0 to < 1.25.2 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PgBouncer | 0 to < 1.25.2 (affected · semver)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-121 Stack-based Buffer Overflow
References
1Provider assertions
2PostgreSQL · cna
PgBouncer buffer overflow in SCRAM
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2cd1aff8c8f592569bafa7ff9f77e1d1dd6905b099a36093e8e60bf4628a3a15
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record