Skip to main content
No exploitation reportedFix available

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?

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
  1. 2026-10-1418:17CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block 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
pgbouncer
BranchAffectedFixed in
1.x≥ 1.21.0, < 1.26.11.26.1

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

  • CVE-2026-107348 Red Hat Product Security4 products fixed

    pgbouncer: pgbouncer: Denial of Service via integer overflow in message buffer growth

  • RHSA-2026:83843 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Full record on NVD

Fix

  1. Update pgbouncer to 1.26.1
  2. 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/
  3. 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

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2026-10-16
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.15.9read 2026-10-23
  • CNAweakness (CWE)CWE-190, CWE-835read 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-10-23
  • OSVaffected packages—

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?

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.

Is CVE-2026-107348 actively exploited?

Active exploitation of CVE-2026-107348 has not been confirmed. Its EPSS score was 0.4% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-107348?

CVE-2026-107348 has a CVSS v3 base score of 5.9 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

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