PgBouncer up to 1.25.1 Error Response SQLSTATE null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.7$0-$5k0.00

Summaryinfo

A vulnerability marked as problematic has been reported in PgBouncer up to 1.25.1. This vulnerability affects unknown code of the component Error Response Handler. The manipulation of the argument SQLSTATE leads to null pointer dereference. This vulnerability is uniquely identified as CVE-2026-6666. The attack is possible to be carried out remotely. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in PgBouncer up to 1.25.1. This issue affects an unknown code of the component Error Response Handler. The manipulation of the argument SQLSTATE with an unknown input leads to a null pointer dereference vulnerability. Using CWE to declare the problem leads to CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. Impacted is availability. The summary by CVE is:

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.

The weakness was disclosed by Haruto Kimura. It is possible to read the advisory at pgbouncer.org. The identification of this vulnerability is CVE-2026-6666 since 04/20/2026. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 313600 (Linux Distros Unpatched Vulnerability : CVE-2026-6666), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 1.25.2 eliminates this vulnerability. The upgrade is hosted for download at pgbouncer.org.

The vulnerability is also documented in the databases at Tenable (313600) and CERT Bund (WID-SEC-2026-1445). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Microsoft Azure Linux
  • Open Source PgBouncer

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.7
VulDB Meta Temp Score: 5.7

VulDB Base Score: 3.7
VulDB Temp Score: 3.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔒

CNA Base Score: 5.9
CNA Vector (PostgreSQL): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 313600
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-6666

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: PgBouncer 1.25.2

Timelineinfo

04/20/2026 CVE reserved
05/09/2026 +19 days Advisory disclosed
05/09/2026 +0 days VulDB entry created
05/18/2026 +9 days VulDB entry last update

Sourcesinfo

Advisory: pgbouncer.org
Researcher: Haruto Kimura
Status: Confirmed

CVE: CVE-2026-6666 (🔒)
GCVE (CVE): GCVE-0-2026-6666
GCVE (VulDB): GCVE-100-362387
CERT Bund: WID-SEC-2026-1445 - PgBouncer: Mehrere Schwachstellen

Entryinfo

Created: 05/09/2026 06:57
Updated: 05/18/2026 11:39
Changes: 05/09/2026 06:57 (66), 05/10/2026 01:13 (2), 05/13/2026 02:30 (7), 05/18/2026 11:39 (11)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!