BIT-pgbouncer-2026-6665

vendorUSosv

PgBouncer buffer overflow in SCRAM

view advisory published 2026-05-12Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-6665UScritical9.8—
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 th…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan