CVE-2025-2291 Details
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
A vulnerability in PgBouncer allows passwords to be used after their expiration date. This issue arises because the 'auth_query' does not consider the 'VALID UNTIL' value of passwords in PostgreSQL. As a result, an attacker can log in with an expired password. This vulnerability affects PgBouncer versions 1.0.0 through 1.24.0.
Users can upgrade to PgBouncer version 1.24.1, which addresses this vulnerability by updating the default 'auth_query' to consider password expiration. Those using a custom 'auth_query' should modify it to account for the 'VALID UNTIL' value.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html | CVE | Mailing ListThird Party Advisory |
| https://www.pgbouncer.org/changelog.html#pgbouncer-124x | PostgreSQL | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-324 | Use of a Key Past its Expiration Date | PostgreSQL |
Affected Products
| Product | Versions |
|---|---|
| pgbouncer pgbouncer | < 1.24.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | PostgreSQL |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 8, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Apr 16, 2025 | New CVE Received | PostgreSQL |