CVE-2026-6665
CVE-2026-6665 is a high-severity vulnerability in Pgbouncer with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-121.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 0% (29th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-28877
- Weakness: CWE-121
- Affected product: Pgbouncer
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-6665?
- 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.
- How severe is CVE-2026-6665?
- CVE-2026-6665 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-6665 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-6665?
- CVE-2026-6665 affects Pgbouncer. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-6665?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-6665 have an EU (EUVD) identifier?
- Yes. CVE-2026-6665 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-28877.
- When was CVE-2026-6665 published?
- CVE-2026-6665 was published on 2026-05-09 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*
More vulnerabilities in Pgbouncer
- CVE-2025-2291 — High (CVSS 8.1): Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value,…
- CVE-2021-3935 — High (CVSS 8.1): When PgBouncer is configured to use "cert" authentication, a man-in-the-middle attacker can inject arbitrary SQL…
- CVE-2015-6817 — High (CVSS 8.1): PgBouncer 1.6.x before 1.6.1, when configured with auth_user, allows remote attackers to gain login access as auth_user…
- CVE-2026-6664 — High (CVSS 7.5): An integer overflow in network packet parsing code in PgBouncer before 1.25.2 bypasses a boundary check and can lead to…
- CVE-2025-12819 — High (CVSS 7.5): Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker to…
- CVE-2015-4054 — High (CVSS 7.5): PgBouncer before 1.5.5 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) by…
All CVEs affecting Pgbouncer →
Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities
- CVE-2026-12848 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12847 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12846 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12485 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-37541 — Critical (CVSS 10.0): Buffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_gvret.cpp, the length…
- CVE-2026-42996 — Critical (CVSS 10.0): JS8Call through 2.3.1 and JS8Call-improved before 3.0 have a stack-based buffer overflow via a radio transmission of…
Browse all CWE-121 (Stack-based Buffer Overflow) vulnerabilities →