org.postgresql:postgresql vulnerabilities

PostgreSQL JDBC Driver Postgresql

Registry
Maven
Latest
42.7.14
License
BSD-2-Clause

11 known advisories

The latest version, 42.7.14, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=org.postgresql:postgresql -DdepVersion=42.7.14 -DforceVersion=true

Is your project on an affected org.postgresql:postgresql?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for org.postgresql:postgresql

  • HighCVE-2026-54291GHSA-j92g-9f8w-j86721 Jul 2026

    PostgreSQL JDBC Driver: Silent channel-binding authentication downgrade via unsupported certificate algorithms

    Affected
    >=42.7.4 <42.7.12
    Fixed in
    42.7.12
  • HighCVE-2026-42198GHSA-98qh-xjc8-98pq5 May 2026

    pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS

    Affected
    >=42.2.0 <42.7.11
    Fixed in
    42.7.11
  • HighCVE-2025-49146GHSA-hq9p-pm7w-8p5411 Jun 2025

    pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

    Affected
    >=42.7.4 <42.7.7
    Fixed in
    42.7.7
  • CriticalCVE-2024-1597GHSA-24rp-q3w6-vc5621 Feb 2024

    org.postgresql:postgresql vulnerable to SQL Injection via line comment generation

    Affected
    <42.2.28 · >=42.3.0 <42.3.9 · >=42.4.0 <42.4.4 · >=42.5.0 <42.5.5 · >=42.6.0 <42.6.1 · >=42.7.0 <42.7.2
    Fixed in
    42.2.28, 42.3.9, 42.4.4, 42.5.5, 42.6.1, 42.7.2
  • MediumCVE-2022-41946GHSA-562r-vg33-8x8h23 Nov 2022

    TemporaryFolder on unix-like systems does not limit access to created files

    Affected
    >=42.2.0 <42.2.27 · >=42.3.0 <42.3.8 · >=42.4.0 <42.4.3 · >=42.5.0 <42.5.1
    Fixed in
    42.2.27, 42.3.8, 42.4.3, 42.5.1
  • HighCVE-2022-31197GHSA-r38f-c4h4-hqq26 Aug 2022

    PostgreSQL JDBC Driver SQL Injection in ResultSet.refreshRow() with malicious column names

    Affected
    <42.2.26 · >=42.4.0 <42.4.1 · >=42.3.0 <42.3.7
    Fixed in
    42.2.26, 42.3.7, 42.4.1
  • HighCVE-2012-1618GHSA-h86w-m5rm-xr3317 May 2022

    Unescaped parameters in the PostgreSQL JDBC driver

    Affected
    <8.2
    Fixed in
    8.2
  • LowCVE-2022-26520GHSA-727h-hrw8-jg8q11 Mar 2022

    Path traversal in org.postgresql:postgresql

    Affected
    >=42.1.0 <42.3.3
    Fixed in
    42.3.3
  • MediumCVE-2022-26520GHSA-673j-qm5f-xpv816 Feb 2022

    pgjdbc Arbitrary File Write Vulnerability

    Affected
    >=42.1.0 <42.3.3
    Fixed in
    42.3.3
  • HighCVE-2020-13692GHSA-88cc-g835-76rp10 Feb 2022

    Improper Restriction of XML External Entity Reference

    Affected
    >=9.4.1212.jre6 <42.2.13
    Fixed in
    42.2.13
  • HighCVE-2022-21724GHSA-v7wg-cpwc-24m42 Feb 2022

    pgjdbc Does Not Check Class Instantiation when providing Plugin Classes

    Affected
    >=9.4.1208 <42.2.25 · >=42.3.0 <42.3.2
    Fixed in
    42.2.25, 42.3.2

Is your org.postgresql:postgresql version vulnerable?

Which of your client projects still run an old org.postgresql:postgresql?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.