CVE-2026-107348
Integer overflow causes an infinite loop in message buffer growth in PgBouncer
No exploitation reported by the sources we read.
- Published2026-10-14
- Fixed in1.26.1
- WeaknessCWE-190 · CWE-835
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-10-1418:17CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-107348?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-107348?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.x | ≥ 1.21.0, < 1.26.1 | 1.26.1 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
pgbouncer: pgbouncer: Denial of Service via integer overflow in message buffer growth
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Fix
- Update pgbouncer to 1.26.1
- Vendor fix Red Hat Product Security RHSA-2026:83843 · 4 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Workaround from the vendor Red Hat Product Security RHSA-2026:83843 · 4 productsEnsure that `max_packet_size` is not configured above 2147483647 in the PgBouncer configuration file. 1. Edit `/etc/pgbouncer/pgbouncer.ini` and set `max_packet_size` to a safe value (or remove the directive to use standard defaults): ```ini [pgbouncer] max_packet_size = 2147483647 ``` 2. Reload…
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-10-14
- Last Modified
- 2026-10-16
- NVD status
- Awaiting Analysis
Frequently asked questions
What is CVE-2026-107348?
Is CVE-2026-107348 actively exploited?
What is the CVSS score for CVE-2026-107348?
Running pgbouncer? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.