{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-107348","id":"CVE-2026-107348","title":"Integer overflow causes an infinite loop in message buffer growth in PgBouncer","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 pro","descriptionLong":"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.","published":"2026-10-14T17:34:29.838Z","updated":"2026-10-16T21:17:18.243Z","reserved":"2026-10-07T19:13:32.963Z","status":"Awaiting Analysis","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"PostgreSQL"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"}],"rating":"medium","products":["PgBouncer"],"affectedProducts":[{"vendor":"n/a","product":"PgBouncer","defaultStatus":"unaffected","versions":[{"version":"1.21.0","lessThan":"1.26.1","versionType":"semver","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-190","CWE-835"],"aliases":[],"references":[{"url":"https://www.pgbouncer.org/changelog.html","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00392,"epssPercentile":0.34014,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107348","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107348","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-107348","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107348","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}