Is org.postgresql:postgresql 42.6 vulnerable?

Maven · 3 releases from 42.6.0 to 42.6.2 · latest org.postgresql:postgresql is 42.7.14 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. org.postgresql:postgresql 42.6.2, the last 42.6 release, is affected by 1 known security advisory (1 high), including CVE-2026-42198. 1 more affects earlier 42.6.x releases. Upgrade to 42.7.11 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=org.postgresql:postgresql -DdepVersion=42.7.11 -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

Advisories affecting org.postgresql:postgresql 42.6.2

  • 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

Fixed within 42.6.x, affecting earlier releases

  • 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

Every org.postgresql:postgresql 42.6.x release

Affected: 42.6.0 to 42.6.2. Latest org.postgresql:postgresql: 42.7.14.

VersionKnown advisories
org.postgresql:postgresql 42.6.2CVE-2026-42198
org.postgresql:postgresql 42.6.1CVE-2026-42198
org.postgresql:postgresql 42.6.0CVE-2026-42198, CVE-2024-1597

Which of your client projects are still on org.postgresql:postgresql 42.6?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact org.postgresql:postgresql version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other org.postgresql:postgresql versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.