{"id":"DEBIAN-CVE-2026-6665","details":"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.","modified":"2026-09-14T17:03:28.493142849Z","published":"2026-05-09T01:16:09.013Z","upstream":["CVE-2026-6665"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-6665"}],"affected":[{"package":{"name":"pgbouncer","ecosystem":"Debian:12","purl":"pkg:deb/debian/pgbouncer?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.18.0-1","1.18.0-1+deb12u1","1.19.0-1","1.19.1-1","1.20.0-1","1.20.1-1","1.21.0-1","1.22.0-1","1.22.1-1","1.23.0-1","1.23.1-1","1.24.0-2","1.24.0-3","1.24.1-1","1.25.0-1","1.25.0-2","1.25.1-1","1.25.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6665.json"}},{"package":{"name":"pgbouncer","ecosystem":"Debian:13","purl":"pkg:deb/debian/pgbouncer?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.1-1+deb13u2"}]}],"versions":["1.24.1-1","1.24.1-1+deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6665.json"}},{"package":{"name":"pgbouncer","ecosystem":"Debian:14","purl":"pkg:deb/debian/pgbouncer?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.2-1"}]}],"versions":["1.24.1-1","1.25.0-1","1.25.0-2","1.25.1-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-6665.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}