{"id":"CVE-2026-107348","aliases":["CVE-2026-107348","BIT-PGBOUNCER-2026-107348"],"related":[],"kind":"vulnerability","state":"published","title":"Integer overflow causes an infinite loop in message buffer growth in PgBouncer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-14T17:34:29.838Z","modified":"2026-10-21T12:00:37.733Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-190","CWE-835"],"affected":[{"ranges":[{"type":"semver","introduced":"1.21.0","fixed":"1.26.1","status":"affected"}],"product":"PgBouncer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.21.0","status":"affected","fixed":"1.26.1"}],"ecosystem":"Bitnami","package":"pgbouncer","purl":"pkg:bitnami/pgbouncer","source":"bitnami"}],"references":[{"url":"https://www.pgbouncer.org/changelog.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107348","tags":["web"],"sources":["bitnami"]}],"credits":["Thanks to Brian Cosgrove (@cosgroveb) for finding and reporting this issue."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-16T20:11:07.942Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-107348","url":"https://www.cve.org/CVERecord?id=CVE-2026-107348","licence":"CVE Terms of Use","modified":"2026-10-16T20:11:22.132Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-107348","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107348","licence":"Public domain","modified":"2026-10-16T21:17:18.243Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PGBOUNCER-2026-107348","url":"https://osv.dev/vulnerability/BIT-PGBOUNCER-2026-107348","licence":"Apache-2.0","modified":"2026-10-21T12:00:37.733Z"}],"updatedAt":"2026-11-25T22:59:44.764Z","epss":{"score":0.00392,"percentile":0.35404,"date":"2026-12-01T12:00:22.000Z"}}