CVE-2026-107348
pgbouncer: pgbouncer: Denial of Service via integer overflow in message buffer growth
Overview
Description
Integer overflow in the message buffer growth logic (mbuf_make_room) in PgBouncer 1.21.0 through 1.26.0 allows a remote attacker to cause a denial of service when max_packet_size is configured above 2147483648. A packet header declaring a length above 2^31 makes the buffer size computation overflow, leaving the growth loop unable to terminate. Because PgBouncer serves all clients from a single process, this saturates a CPU core and stalls every pooled connection until the process is restarted. Since 1.23.0 the overflow is reachable before authentication with a five-byte packet header.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-190, CWE-835
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | pgbouncer | >=1.21.0, <1.26.1 | 1.26.1 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | pgbouncer | 0:1.26.1-1.azl3 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pgbouncer | affected |
| 12 | pgbouncer | affected |
| 13 | pgbouncer | affected |
| 14 | pgbouncer | 1.26.1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pgbouncer | 1.26.1 |
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.