CVE-2026-6665
PgBouncer buffer overflow in SCRAM
9.8
CRITICAL
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2026-6665
To remediate CVE-2026-6665, upgrade the affected package to a fixed version below.
- —upgrade to 1.25.2 or later
- —no fix listed
Is CVE-2026-6665 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.25.2
- from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |