CVE Explorer
CVE-2026-6665
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"PgBouncer","vendor":"n/a","versions":[{"lessThan":"1.25.2","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:fbed0e630724acb15c4e58645caa92eaa2b8f9e0e530f88639dc594be0e76fcc · sha256:9f649c0144a7063f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:fbed0e630724acb15c4e58645caa92eaa2b8f9e0e530f88639dc594be0e76fcc · sha256:9f649c0144a7063f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-121","description":"Stack-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fbed0e630724acb15c4e58645caa92eaa2b8f9e0e530f88639dc594be0e76fcc · sha256:9f649c0144a7063f… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://www.pgbouncer.org/changelog.html#pgbouncer-125x"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fbed0e630724acb15c4e58645caa92eaa2b8f9e0e530f88639dc594be0e76fcc · sha256:9f649c0144a7063f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.