CVE-2025-2291
CVE-2025-2291 is a high-severity vulnerability in Pgbouncer with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-324.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 0% (24th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-11379
- Weakness: CWE-324
- Affected product: Pgbouncer
- Published:
- Last modified:
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
Frequently asked questions
- What is 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 log in with an already expired password
- How severe is CVE-2025-2291?
- CVE-2025-2291 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-2291 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (24th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-2291?
- CVE-2025-2291 primarily affects Pgbouncer. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-2291?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-2291 have an EU (EUVD) identifier?
- Yes. CVE-2025-2291 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-11379.
- When was CVE-2025-2291 published?
- CVE-2025-2291 was published on 2025-04-16 and last updated on 2026-06-17.
References
- https://www.pgbouncer.org/changelog.html#pgbouncer-124x
- https://lists.debian.org/debian-lts-announce/2025/05/msg00032.html
Affected products (2)
- cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
More vulnerabilities in Pgbouncer
- CVE-2026-6665 — High (CVSS 8.1): The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the…
- CVE-2021-3935 — High (CVSS 8.1): When PgBouncer is configured to use "cert" authentication, a man-in-the-middle attacker can inject arbitrary SQL…
- CVE-2015-6817 — High (CVSS 8.1): PgBouncer 1.6.x before 1.6.1, when configured with auth_user, allows remote attackers to gain login access as auth_user…
- CVE-2026-6664 — High (CVSS 7.5): An integer overflow in network packet parsing code in PgBouncer before 1.25.2 bypasses a boundary check and can lead to…
- CVE-2025-12819 — High (CVSS 7.5): Untrusted search path in auth_query connection handler in PgBouncer before 1.25.1 allows an unauthenticated attacker to…
- CVE-2015-4054 — High (CVSS 7.5): PgBouncer before 1.5.5 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) by…
All CVEs affecting Pgbouncer →
Other CWE-324 vulnerabilities
- CVE-2024-36031 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: keys: Fix overwrite of key expiration on…
- CVE-2025-31123 — High (CVSS 8.7): Zitadel is open-source identity infrastructure software. A vulnerability existed where expired keys can be used to…
- CVE-2026-52809 — Medium (CVSS 6.8): Gogs is an open source self-hosted Git service. Prior to 0.14.3, password-reset tokens are generated using…
- CVE-2024-25679 — Medium (CVSS 6.5): In PQUIC before 5bde5bb, retention of unused initial encryption keys allows attackers to disrupt a connection with a…
- CVE-2025-33012 — Medium (CVSS 6.3): IBM Db2 10.5.0 through 10.5.11, 11.1.0 through 11.1.4.7, 11.5.0 through 11.5.9, and 12.1.0 through 12.1.3 for Linux…
- CVE-2025-48813 — Medium (CVSS 6.3): Use of a key past its expiration date in Virtual Secure Mode allows an authorized attacker to perform spoofing locally.