{
  "id": "CVE-2026-6668",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-6668",
  "published_at": "2026-09-23T16:04:47.158Z",
  "title": "Integer overflow causes an infinite loop in packet buffer growth in PgBouncer",
  "product": "PgBouncer",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-190",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PgBouncer",
        "ranges": [
          "\u003c= 1.25.2"
        ],
        "fixed_in": null
      }
    ],
    "workarounds": [
      "Set max_packet_size well below 1073741824 so that no single packet can grow a packet buffer past the overflow threshold"
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://www.pgbouncer.org/changelog.html"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
