CVE-2026-6664: Integer Overflow or Wraparound in PgBouncer
An integer overflow in network packet parsing code in PgBouncer before 1.25.2 bypasses a boundary check and can lead to a crash. An unauthenticated remote attacker can crash PgBouncer with a malformed SCRAM authentication packet.
AI Analysis
Technical Summary
This vulnerability involves an integer overflow or wraparound in PgBouncer's network packet parsing code prior to version 1.25.2. Specifically, a malformed SCRAM authentication packet can bypass boundary checks due to the overflow, leading to a crash of the PgBouncer process. The flaw can be triggered remotely without authentication, causing denial of service. The CVSS 3.1 base score is 7.5, reflecting high severity due to network attack vector, no privileges required, and no user interaction needed, with impact limited to availability.
Potential Impact
An unauthenticated remote attacker can cause PgBouncer to crash by sending a specially crafted SCRAM authentication packet. This results in denial of service, disrupting database connection pooling and potentially impacting dependent applications. There is no indication of confidentiality or integrity compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider implementing network-level protections such as filtering or rate limiting SCRAM authentication packets to reduce exposure. Monitor for updates from PgBouncer maintainers regarding a security patch or official fix.
CVE-2026-6664: Integer Overflow or Wraparound in PgBouncer
Description
An integer overflow in network packet parsing code in PgBouncer before 1.25.2 bypasses a boundary check and can lead to a crash. An unauthenticated remote attacker can crash PgBouncer with a malformed SCRAM authentication packet.
CVSS v3.1
Score 7.5high
Affected software
pkg:github/pgbouncer/pgbouncerRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves an integer overflow or wraparound in PgBouncer's network packet parsing code prior to version 1.25.2. Specifically, a malformed SCRAM authentication packet can bypass boundary checks due to the overflow, leading to a crash of the PgBouncer process. The flaw can be triggered remotely without authentication, causing denial of service. The CVSS 3.1 base score is 7.5, reflecting high severity due to network attack vector, no privileges required, and no user interaction needed, with impact limited to availability.
Potential Impact
An unauthenticated remote attacker can cause PgBouncer to crash by sending a specially crafted SCRAM authentication packet. This results in denial of service, disrupting database connection pooling and potentially impacting dependent applications. There is no indication of confidentiality or integrity compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, consider implementing network-level protections such as filtering or rate limiting SCRAM authentication packets to reduce exposure. Monitor for updates from PgBouncer maintainers regarding a security patch or official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- PostgreSQL
- Date Reserved
- 2026-04-20T12:25:43.095Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fe8c5ccbff5d86108b6aa9
Added to database: 05/09/2026, 01:22:36 UTC
Last enriched: 05/16/2026, 10:56:04 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 116
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.