Red Hat Lightwell has released org.postgresql:postgresql 42.3.3.rhlw-00006 with backported fixes for CVE-2022-31197, CVE-2022-41946, CVE-2024-1597, and CVE-2026-42198.
CVE-2022-31197: SQL Injection in ResultSet.refreshRow() with malicious column names in pgjdbc
CVE-2022-41946: TemporaryFolder on unix-like systems does not limit access to created files in pgjdbc
CVE-2024-1597: pgjdbc SQL Injection via line comment generation
CVE-2026-42198: pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
This patched artifact is a drop-in replacement for org.postgresql:postgresql 42.3.3 from Maven Central.