NULL Pointer Dereference Affecting pgbouncer/pgbouncer package, versions [,1.25.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PGBOUNCERPGBOUNCER-16750463
  • published1 Jun 2026
  • disclosed9 May 2026
  • creditHarutoKimura

Introduced: 9 May 2026

NewCVE-2026-6666  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade pgbouncer/pgbouncer to version 1.25.2 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the kill_pool_logins_server_error() function. An attacker can crash the server by sending a malformed ErrorResponse that does not include an SQLSTATE error code.

CVSS Base Scores

version 4.0
version 3.1