{
  "id": "CVE-2026-6665",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-6665",
  "published_at": "2026-05-09T00:43:46.762Z",
  "title": "PgBouncer buffer overflow in SCRAM",
  "product": "PgBouncer",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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": "The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the contents of the SCRAM client-final-message. A malicious backend that sends a SCRAM server-final-message with a long nonce can trigger a stack overflow.",
  "cwe": "CWE-121",
  "cpes": [
    "cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "n/a",
        "product": "PgBouncer",
        "ranges": [
          "\u003c 1.25.2"
        ],
        "fixed_in": [
          "1.25.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PgBouncer to 1.25.2 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://www.pgbouncer.org/changelog.html#pgbouncer-125x"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
