CVE-2026-6664 PgBouncer integer overflow in PgBouncer network packet parsing

High 7.5 Published Updated

An unauthenticated remote attacker can crash PgBouncer by sending a malformed SCRAM authentication packet due to an integer overflow in packet parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-6664?

CVE-2026-6664 is a high-severity vulnerability in PgBouncer, published on 9 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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 unauthenticated remote attacker can crash PgBouncer with a malformed SCRAM authentication packet.

Weakness: CWE-190

Which versions are affected by CVE-2026-6664?

1 open source package ship an affected version, including pgbouncer. It affects 1 product.

PackageAffectedFixed in
pgbouncer BitnamiAll versions1.25.2

Products include Pgbouncer Pgbouncer.

How do I fix CVE-2026-6664?

Upgrade pgbouncer to 1.25.2 or later.

Is CVE-2026-6664 being exploited?

There is no known exploitation of CVE-2026-6664 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as AZL-86234, BIT-pgbouncer-2026-6664, CLEANSTART-2026-AK83492, DEBIAN-CVE-2026-6664, GHSA-pmgp-q838-fh9g, MINI-wphc-9f2g-98fw and 1 more.

Is CVE-2026-6664 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free