PgBouncer up to 1.25.1 Error Response SQLSTATE null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.7VulDB 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): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 313600
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-6666
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: PgBouncer 1.25.2
Timeline
04/20/2026 CVE reserved05/09/2026 Advisory disclosed
05/09/2026 VulDB entry created
05/18/2026 VulDB entry last update
Sources
Advisory: pgbouncer.orgResearcher: 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
Entry
Created: 05/09/2026 06:57Updated: 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.
No comments yet. Languages: en.
Please log in to comment.