{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-6668", "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "state": "PUBLISHED", "assignerShortName": "PostgreSQL", "dateReserved": "2026-04-20T12:25:46.351Z", "datePublished": "2026-09-23T16:04:47.158Z", "dateUpdated": "2026-09-23T16:46:13.834Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "shortName": "PostgreSQL", "dateUpdated": "2026-09-23T16:04:47.158Z" }, "title": "Integer overflow causes an infinite loop in packet buffer growth in PgBouncer", "descriptions": [ { "lang": "en", "value": "Integer overflow in the packet buffer growth logic in PgBouncer through 1.25.2 allows an unauthenticated remote attacker to cause a denial of service. Sufficiently large input 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 killed. Both unauthenticated and authenticated code paths can reach the overflow." } ], "affected": [ { "defaultStatus": "unaffected", "product": "PgBouncer", "vendor": "n/a", "versions": [ { "version": "0", "lessThanOrEqual": "1.25.2", "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:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH" } } ], "configurations": [ { "lang": "en", "value": "max_packet_size is left at its default of 2147483647 (default configuration), which is what permits a packet large enough to reach the overflow. No other non-default configuration is required." } ], "workarounds": [ { "lang": "en", "value": "Set max_packet_size well below 1073741824 so that no single packet can grow a packet buffer past the overflow threshold" } ], "credits": [ { "lang": "en", "value": "Thanks to @var77 for finding and reporting this issue.", "type": "finder" } ] }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2026-6668", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "yes" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2026-09-23T16:33:22.320321Z" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-09-23T16:46:13.834Z" } } ] } }