Medium severity · published Oct 14, 2026
CVE-2026-107348
Integer overflow causes an infinite loop in message buffer growth in PgBouncer
5.9
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PG
PgBouncer ·
1.21.0 before 1.26.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107348
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107348
www.pgbouncer.org
https://www.pgbouncer.org/changelog.html
More from PgBouncer
9.8
CVE-2026-6665
PgBouncer buffer overflow in SCRAM
8.8
CVE-2026-107350
Authentication bypass via second StartupMessage during SCRAM authentication in PgBouncer
8.1
CVE-2025-12819
Untrusted search path in auth_query connection in PgBouncer
7.5
CVE-2026-107349
Infinite loop on empty option name in startup options parameter in PgBouncer
7.5
CVE-2026-19888
NULL pointer dereference in SCRAM client-final-message parsing in PgBouncer
