{"id":"CVE-2026-107348","published":"2026-10-14T17:34:29Z","modified":"2026-10-16T20:11:22Z","title":"Integer overflow causes an infinite loop in message buffer growth in PgBouncer","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00501,"percentile":0.35871,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://www.pgbouncer.org/changelog.html","tags":[]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":7.17},{"name":"CVSS severity","points":4.13}]},"affectedVersions":[{"vendor":"n/a","product":"PgBouncer","versions":[">= 1.21.0, < 1.26.1"]}],"workarounds":{"items":["Set max_packet_size to 2147483647 (the default) or lower."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T20:11:07.942275Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-101498","exploited":false,"provenance":"source"}}