CVE Catalog

CVE-2026-6665

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.37%

30th percentile - higher than 30% of all known CVEs

Summary

The SCRAM code in PgBouncer before version 1.25.2 does not correctly check the return value of strlcat() when building the client-final-message. A malicious backend sending a server-final-message with a long nonce can trigger a stack overflow.

Risk Assessment

An attacker controlling the database backend can crash PgBouncer via stack overflow, disrupting database connections.

Recommendation

Upgrade PgBouncer to version 1.25.2 or later, which fixes the strlcat() check.

Other vulnerabilities in PgBouncer

See all
Original NVD description (English 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS