Maven (Java)Worst: Critical15 advisories
org.postgresql:postgresql: known vulnerabilities
org.postgresql:postgresql has 15 reviewed security advisories in the GitHub Advisory Database — 2 critical, 9 high, 3 moderate, 1 low. The most recent was published 2026-07-06. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the org.postgresql:postgresql versions running across your servers, containers and images, and ranks what to patch first.
How to fix org.postgresql:postgresql
Upgrade org.postgresql:postgresql to a release at or above the fixed version shown for each advisory below. For Maven (Java):
Bump the dependency to 42.7.12 in your pom.xml or build.gradle
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (15)
PostgreSQL JDBC Driver: Silent channel-binding authentication downgrade via unsupported certificate algorithms
High CWE-636 CWE-757
— Affected: from 42.7.4 up to 42.7.12. Fixed in 42.7.12. Published 2026-07-06. GHSA-j92g-9f8w-j867 · CVE-2026-54291
pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
High 7.5 CWE-770
— Affected: from 42.2.0 up to 42.7.11. Fixed in 42.7.11. Published 2026-04-29. GHSA-98qh-xjc8-98pq · CVE-2026-42198
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
High 8.2 CWE-287
— Affected: from 42.7.4 up to 42.7.7. Fixed in 42.7.7. Published 2025-06-11. GHSA-hq9p-pm7w-8p54 · CVE-2025-49146
org.postgresql:postgresql vulnerable to SQL Injection via line comment generation
Critical 10.0 CWE-89
— Affected: from 42.7.0 up to 42.7.2. Fixed in 42.7.2. Published 2024-02-21. GHSA-24rp-q3w6-vc56 · CVE-2024-1597
Duplicate Advisory: SQL injection in pgjdbc
Critical 10.0 CWE-89
— Affected: before 42.2.8. Fixed in 42.2.8. Published 2024-02-19. GHSA-xfg6-62px-cxc2
TemporaryFolder on unix-like systems does not limit access to created files
Moderate 4.7 CWE-200 CWE-668
— Affected: from 42.5.0 up to 42.5.1. Fixed in 42.5.1. Published 2022-11-23. GHSA-562r-vg33-8x8h · CVE-2022-41946
PostgreSQL JDBC Driver SQL Injection in ResultSet.refreshRow() with malicious column names
High 7.1 CWE-89
— Affected: from 42.3.0 up to 42.3.7. Fixed in 42.3.7. Published 2022-08-03. GHSA-r38f-c4h4-hqq2 · CVE-2022-31197
Path traversal in org.postgresql:postgresql
Low
— Affected: from 42.1.0 up to 42.3.3. Fixed in 42.3.3. Published 2022-03-10. GHSA-727h-hrw8-jg8q · CVE-2022-26520
pgjdbc Arbitrary File Write Vulnerability
Moderate
— Affected: from 42.1.0 up to 42.3.3. Fixed in 42.3.3. Published 2022-02-16. GHSA-673j-qm5f-xpv8 · CVE-2022-26520
Untrusted Search Path in PostgreSQL
Moderate 7.3 CWE-426
— Affected: before 12.4. Fixed in 12.4. Published 2022-02-15. GHSA-6v9v-3f4c-cjgx
Use of a Broken or Risky Cryptographic Algorithm in PostgreSQL
High 8.1 CWE-327
— Affected: before 13.1. Fixed in 13.1. Published 2022-02-15. GHSA-vmm8-82m2-pcp5
SQL Injection
High 8.8 CWE-89
— Affected: before 13.1. Fixed in 13.1. Published 2022-02-15. GHSA-xgxp-9x8p-gcw4
pgjdbc Does Not Check Class Instantiation when providing Plugin Classes
High 7.0 CWE-665 CWE-668 CWE-74
— Affected: from 42.3.0 up to 42.3.2. Fixed in 42.3.2. Published 2022-02-02. GHSA-v7wg-cpwc-24m4 · CVE-2022-21724
Improper Restriction of XML External Entity Reference
High 7.7 CWE-611
— Affected: from 9.4.1212.jre6 up to 42.2.13. Fixed in 42.2.13. Published 2020-06-04. GHSA-88cc-g835-76rp · CVE-2020-13692
Unescaped parameters in the PostgreSQL JDBC driver
High
— Affected: before 8.2. Fixed in 8.2. Published 2012-10-06. GHSA-h86w-m5rm-xr33 · CVE-2012-1618
Find org.postgresql:postgresql across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.