The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6664

CVE-2026-6664: PgBouncer DOS Vulnerability

CVE-2026-6664 is a denial of service flaw in PgBouncer caused by an integer overflow in network packet parsing. Attackers can crash PgBouncer remotely without authentication. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 18, 2026

CVE-2026-6664 Overview

CVE-2026-6664 is an integer overflow vulnerability in the network packet parsing code of PgBouncer, a lightweight connection pooler for PostgreSQL. The flaw exists in versions prior to 1.25.2 and stems from a bypassed boundary check during processing of Salted Challenge Response Authentication Mechanism (SCRAM) authentication packets. An unauthenticated remote attacker can send a malformed SCRAM packet to crash the PgBouncer process, producing a denial-of-service condition against database connection pooling infrastructure. The vulnerability is tracked under [CWE-190] Integer Overflow or Wraparound.

Critical Impact

Unauthenticated remote attackers can crash PgBouncer with a single malformed SCRAM authentication packet, disrupting all PostgreSQL connections routed through the pooler.

Affected Products

  • PgBouncer versions prior to 1.25.2
  • Deployments exposing PgBouncer listeners to untrusted networks
  • PostgreSQL environments relying on PgBouncer for connection pooling

Discovery Timeline

  • 2026-05-09 - CVE-2026-6664 published to the National Vulnerability Database (NVD)
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-6664

Vulnerability Analysis

The vulnerability resides in PgBouncer's network packet parsing routine that handles SCRAM authentication messages. SCRAM is the default authentication mechanism for modern PostgreSQL deployments, and PgBouncer parses these packets before forwarding or terminating the authentication exchange. A length field within the malformed packet triggers an arithmetic operation that wraps around the bounds of an integer type. The wrapped value then defeats a subsequent boundary check that would normally reject oversized or malformed input.

Because the boundary check is bypassed, the parser proceeds with invalid offsets or sizes, leading to a process crash. The crash terminates the PgBouncer daemon and severs all pooled client sessions. Applications dependent on the pooler lose database connectivity until the service is restarted.

Root Cause

The root cause is an integer overflow [CWE-190] in arithmetic performed on attacker-controlled length values inside the SCRAM packet parser. The code computes a size or offset that overflows the underlying integer type, producing a small or negative value that satisfies a length comparison intended to enforce safe bounds. Subsequent memory access or parsing logic operates on the corrupted value and crashes the process.

Attack Vector

Exploitation requires only network reachability to the PgBouncer listener. No authentication or user interaction is needed because the parser processes the SCRAM packet during the pre-authentication phase. An attacker sends a crafted SCRAM client message with a manipulated length field that triggers the overflow. The PgBouncer process crashes, denying database access to all clients of that pooler instance. Repeated transmission against a restarted service produces sustained denial of service.

No public proof-of-concept or in-the-wild exploitation has been reported. Refer to the PgBouncer Change Log for the maintainer's description of the fix.

Detection Methods for CVE-2026-6664

Indicators of Compromise

  • Unexpected PgBouncer process termination or repeated restarts logged by the service manager
  • Connection failures from application tiers immediately following inbound traffic on the PgBouncer port
  • SCRAM authentication packets with malformed or implausible length fields captured by network monitoring
  • Source IP addresses generating short-lived TCP sessions to the PgBouncer listener followed by service crashes

Detection Strategies

  • Monitor PgBouncer process uptime and alert on abnormal exits or core dumps in systemd, supervisord, or container orchestrator logs
  • Inspect PgBouncer logs for truncated authentication exchanges and SCRAM parsing errors preceding termination
  • Deploy network intrusion detection signatures that flag PostgreSQL wire-protocol messages with inconsistent length headers during the SASL/SCRAM handshake
  • Correlate database client connection failures with PgBouncer process restarts across the fleet

Monitoring Recommendations

  • Track the running version of PgBouncer across all hosts and alert when versions earlier than 1.25.2 are detected
  • Forward PgBouncer syslog output and orchestrator events to a centralized logging platform for correlation
  • Baseline normal authentication packet rates per source and alert on anomalous SCRAM traffic patterns

How to Mitigate CVE-2026-6664

Immediate Actions Required

  • Upgrade PgBouncer to version 1.25.2 or later on every host running the pooler
  • Restrict network access to PgBouncer listeners using firewall rules so only trusted application subnets can reach the service
  • Place PgBouncer behind a private network segment or VPN rather than exposing it to the public internet
  • Enable automatic process supervision so PgBouncer restarts quickly after a crash while patches are deployed

Patch Information

The maintainers fixed the integer overflow in PgBouncer 1.25.2. Details are documented in the PgBouncer Change Log. Operators should pull the updated package from their distribution repository or build from the upstream release tag.

Workarounds

  • Block inbound traffic to the PgBouncer port from untrusted networks at the host or perimeter firewall
  • Require TLS client certificates at a reverse proxy in front of PgBouncer to reject unauthenticated packets before they reach the parser
  • Use process supervision with rate-limited restarts to reduce service downtime if a crash occurs prior to patching
bash
# Example: restrict PgBouncer listener to trusted application subnet using iptables
iptables -A INPUT -p tcp --dport 6432 -s 10.20.30.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 6432 -j DROP

# Verify installed PgBouncer version
pgbouncer --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPgbouncer

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • PgBouncer Change Log
  • Related CVEs
  • CVE-2026-6666: Pgbouncer DOS Vulnerability

  • CVE-2026-6665: PgBouncer Buffer Overflow Vulnerability

  • CVE-2026-6667: PgBouncer Auth Bypass Vulnerability

  • CVE-2025-12819: PgBouncer SQL Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English