CVE-2026-6665
The SCRAM code in PgBouncer before 1.25.2 did not check the return val ...
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-121
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | pgbouncer | <1.25.2 | 1.25.2 |
Open a package to see all its vulnerabilities.
Operating systems · 9 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | pgbouncer | 0:1.25.2-1.azl3 |
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pgbouncer | 1.25.2-r0 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pgbouncer | affected |
| 12 | pgbouncer | affected |
| 13 | pgbouncer | 1.24.1-1+deb13u2 |
| 14 | pgbouncer | 1.25.2-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pgbouncer | 1.24.1-1+deb13u2 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pgbouncer | 1.25.2-r0 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pgbouncer | 1.25.2-r0 |
References
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.