CVE-2025-2291Use of a Key Past its Expiration Date in Pgbouncer

Severity
9.8CRITICALNVD
CNA8.1
EPSS
0.3%
top 46.43%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 16

Description

Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value, which allows an attacker to log in with an already expired password

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages3 packages

CVEListV5pgbouncer/pgbouncer< 1.24.1
NVDpgbouncer/pgbouncer< 1.24.1
Debianpgbouncer/pgbouncer< 1.15.0-1+deb11u1+3

Also affects: Debian Linux 11.0

🔴Vulnerability Details

3
CVEList
PgBouncer default auth_query does not take Postgres password expiry into account2025-04-16
GHSA
GHSA-qj9w-64mv-p2fw: Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value, which allows an attacker to lo2025-04-16
OSV
CVE-2025-2291: Password can be used past expiry in PgBouncer due to auth_query not taking into account Postgres its VALID UNTIL value, which allows an attacker to lo2025-04-16

📋Vendor Advisories

2
Microsoft
PgBouncer default auth_query does not take Postgres password expiry into account2025-04-08
Debian
CVE-2025-2291: pgbouncer - Password can be used past expiry in PgBouncer due to auth_query not taking into ...2025