{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6665","id":"CVE-2026-6665","title":"PgBouncer buffer overflow in SCRAM","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.","descriptionLong":"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.","published":"2026-05-09T00:43:46.762Z","updated":"2026-07-24T08:10:00.150Z","reserved":"2026-04-20T12:25:43.793Z","status":"Analyzed","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"PostgreSQL"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"}],"rating":"high","products":["PgBouncer"],"affectedProducts":[{"vendor":"n/a","product":"PgBouncer","defaultStatus":"unaffected","versions":[{"lessThan":"1.25.2","version":"0","versionType":"semver","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-121"],"aliases":[],"references":[{"url":"https://www.pgbouncer.org/changelog.html#pgbouncer-125x","tags":["Release Notes"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00372,"epssPercentile":0.31791,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6665","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6665","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6665","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-6665","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}