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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*

History

24 Jul 2026, 08:10

Type Values Removed Values Added
Summary
  • (es) El código SCRAM en PgBouncer anterior a la versión 1.25.2 no verificaba correctamente el valor de retorno de strlcat() al construir el contenido del mensaje final del cliente SCRAM. Un backend malicioso que envía un mensaje final del servidor SCRAM con un nonce largo puede desencadenar un desbordamiento de pila.

14 May 2026, 18:52

Type Values Removed Values Added
References () https://www.pgbouncer.org/changelog.html#pgbouncer-125x - () https://www.pgbouncer.org/changelog.html#pgbouncer-125x - Release Notes
First Time Pgbouncer pgbouncer
Pgbouncer
CPE cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*

09 May 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-09 01:16

Updated : 2026-07-24 08:10


NVD link : CVE-2026-6665

Mitre link : CVE-2026-6665

CVE.ORG link : CVE-2026-6665


JSON object : View

Products Affected

pgbouncer

  • pgbouncer
CWE
CWE-121

Stack-based Buffer Overflow