CVE-2026-6666 — A possible null pointer reference in PgBouncer before

CVE-2026-6666 — A possible null pointer reference in PgBouncer before

CVE-2026-6666 — A possible null pointer reference in PgBouncer before 1.25.2 could lead to a crash, if a server sends an error response without SQLSTATE field.

What This Means For You

  • If your environment is affected by CWE-476, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-6666 updates and patches.

Related ATT&CK Techniques

🛡️ Detection Rules

1 rule · 6 SIEM formats

1 detection rule auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.

high T1190 Initial Access

CVE-2026-6666 - PgBouncer Null Pointer Dereference Crash Attempt

Sigma YAML — free preview
title: CVE-2026-6666 - PgBouncer Null Pointer Dereference Crash Attempt
id: scw-2026-05-09-ai-1
status: experimental
level: high
description: |
  This rule detects attempts to exploit CVE-2026-6666 in PgBouncer. The vulnerability is triggered when a server sends an error response without an SQLSTATE field, leading to a null pointer dereference and a crash. This rule looks for web server requests targeting a PgBouncer endpoint (assuming a common path) that result in a 500 Internal Server Error, which could indicate the server is attempting to exploit this vulnerability. This is a critical detection for initial access via a vulnerable PgBouncer instance.
author: SCW Feed Engine (AI-generated)
date: 2026-05-09
references:
  - https://shimiscyberworld.com/posts/nvd-CVE-2026-6666/
tags:
  - attack.initial_access
  - attack.t1190
logsource:
    category: webserver
detection:
  selection:
      cs-uri|contains:
          - '/pgbouncer'
      cs-method|exact:
          - 'POST'
      sc-status|exact:
          - '500'
  condition: selection
falsepositives:
  - Legitimate administrative activity

Source: Shimi's Cyber World · License & reuse

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-6666 vulnerability CVE-2026-6666
CWE-476 weakness CWE-476
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedMay 09, 2026 at 04:16 UTC

This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.

Believe this infringes your rights? Submit a takedown request.

Related coverage

CVE-2026-6667 — PgBouncer before 1.25.2 did not perform an appropriate

CVE-2026-6667 — PgBouncer before 1.25.2 did not perform an appropriate authorization check for the KILL_CLIENT admin command. All users with access to the administration console...

vulnerabilityCVEmedium-severitycwe-862
/SCW Vulnerability Desk /MEDIUM /4.3 /⚑ 2 IOCs /⚙ 2 Sigma

PgBouncer SCRAM Vulnerability (CVE-2026-6665) Allows Stack Overflow

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...

vulnerabilityCVEhigh-severitycwe-121
/SCW Vulnerability Desk /HIGH /8.1 /⚑ 4 IOCs /⚙ 2 Sigma

PgBouncer Integer Overflow (CVE-2026-6664) Leads to Remote Crash

CVE-2026-6664 — 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...

vulnerabilityCVEhigh-severityinteger-overflowcwe-190
/SCW Vulnerability Desk /HIGH /7.5 /⚑ 3 IOCs /⚙ 3 Sigma