Findings

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_…

Published Oct 14, 2026 · updated Oct 15, 2026

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.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 14, 2026 · OSV.dev

    Detected

  2. Oct 14, 2026 · OSV.dev

    Updated

    The description or metadata changed.

  3. Oct 14, 2026 · NIST NVD

    Updated

    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 pro

  4. Oct 15, 2026 · NIST NVD

    Updated

    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 pro

Affected

  • Debian:12 pgbouncer1.18.0-1, 1.18.0-1+deb12u1, 1.19.0-1
  • Debian:13 pgbouncer1.24.1-1, 1.24.1-1+deb13u1, 1.24.1-1+deb13u2
  • Debian:14 pgbouncer1.24.1-1, 1.25.0-1, 1.25.0-2

Sources

  • CVE.orgVulnerability recordCVE-2026-107348

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-107348

    30-day exploitation probability 0.4%

    first.org
  • NIST NVDVulnerability recordCVE-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 c

    nvd.nist.gov
  • OSV.devPackage advisoryDEBIAN-CVE-2026-107348
    osv.dev

References