{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-107348", "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "state": "PUBLISHED", "assignerShortName": "PostgreSQL", "dateReserved": "2026-10-07T19:13:32.963Z", "datePublished": "2026-10-14T17:34:29.838Z", "dateUpdated": "2026-10-16T20:11:22.132Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "shortName": "PostgreSQL", "dateUpdated": "2026-10-14T17:34:29.838Z" }, "title": "Integer overflow causes an infinite loop in message buffer growth in PgBouncer", "descriptions": [ { "lang": "en", "value": "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." } ], "affected": [ { "defaultStatus": "unaffected", "product": "PgBouncer", "vendor": "n/a", "versions": [ { "version": "1.21.0", "lessThan": "1.26.1", "versionType": "semver", "status": "affected" } ] } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-190", "type": "CWE", "description": "Integer Overflow or Wraparound" } ] }, { "descriptions": [ { "lang": "en", "cweId": "CWE-835", "type": "CWE", "description": "Loop with Unreachable Exit Condition ('Infinite Loop')" } ] } ], "references": [ { "url": "https://www.pgbouncer.org/changelog.html" } ], "metrics": [ { "format": "CVSS", "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 5.9, "baseSeverity": "MEDIUM" } } ], "configurations": [ { "lang": "en", "value": "max_packet_size is set to 2147483649 or higher. The default max_packet_size of 2147483647 is not affected." } ], "workarounds": [ { "lang": "en", "value": "Set max_packet_size to 2147483647 (the default) or lower." } ], "credits": [ { "lang": "en", "value": "Thanks to Brian Cosgrove (@cosgroveb) for finding and reporting this issue.", "type": "finder" } ] }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-10-16T20:11:07.942275Z", "id": "CVE-2026-107348", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-10-16T20:11:22.132Z" } } ] } }