Approved changes feed: RSS · Atom

cpe:2.3:a:pgjdbc:pgjdbc:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorPgjdbc (4383f970-bfef-5b8c-ac9d-9d55a12e1526)
ProductPgjdbc (feda516c-5b5c-5e30-8372-1329af3a1a8d)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-54291 vulnerable 2026-07-29 01:00:27.681898 Silent channel-binding authentication downgrade via unsupported certificate algorithms
pgjdbc is an open source postgresql JDBC Driver. In releases 42.7.4 through 42.7.11, channelBinding=require connections can be silently downgraded from SCRAM-SHA-256-PLUS with channel binding to plain SCRAM-SHA-256 without it, losing the man-in-the-middle protection the setting is meant to guarantee. An attacker who can intercept the TLS connection can trigger the downgrade with a certificate whose signature algorithm has no tls-server-end-point channel-binding hash, because the bundled com.ongres.scram:scram-client returns an empty byte array instead of failing and pgJDBC ScramAuthenticator checks only that the server advertised a PLUS mechanism, without rejecting the empty binding or checking that the negotiated mechanism uses channel binding. This issue is fixed in version 42.7.12.
Published: 2026-07-06T18:55:01.675Z
Updated: 2026-07-06T19:47:17.454Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-42198 vulnerable 2026-06-08 08:03:16.013700 pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
HIGH (7.5)
pgjdbc is an open source postgresql JDBC Driver. From version 42.2.0 to before version 42.7.11, pgjdbc is vulnerable to a client-side denial of service during SCRAM-SHA-256 authentication. A malicious server can instruct the driver to perform SCRAM authentication with a very large iteration count. With a large enough value, the client spends an unbounded amount of CPU time inside PBKDF2 before authentication can fail. A single attempt ties up a CPU core. Repeated or concurrent attempts exhaust client CPU and can wedge connection pools. In affected versions, loginTimeout did not fully mitigate this problem. When loginTimeout expired, the caller could stop waiting, but the worker thread performing the connection attempt could continue running and burning CPU inside the SCRAM PBKDF2 computation. This issue has been patched in version 42.7.11.
Published: 2026-04-29T15:58:49.174Z
Updated: 2026-09-11T12:09:08.316Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-49146 vulnerable 2026-06-08 07:29:12.631517 pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
HIGH (8.2)
pgjdbc is an open source postgresql JDBC Driver. From 42.7.4 and until 42.7.7, when the PostgreSQL JDBC driver is configured with channel binding set to required (default value is prefer), the driver would incorrectly allow connections to proceed with authentication methods that do not support channel binding (such as password, MD5, GSS, or SSPI authentication). This could allow a man-in-the-middle attacker to intercept connections that users believed were protected by channel binding requirements. This vulnerability is fixed in 42.7.7.
Published: 2025-06-11T14:32:39.348Z
Updated: 2025-06-11T14:46:17.286Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-1597 vulnerable 2026-06-08 06:27:13.702110 pgjdbc SQL Injection via line comment generation
CRITICAL (10)
pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE. Note this is not the default. In the default mode there is no vulnerability. A placeholder for a numeric value must be immediately preceded by a minus. There must be a second placeholder for a string value after the first placeholder; both must be on the same line. By constructing a matching string payload, the attacker can inject SQL to alter the query,bypassing the protections that parameterized queries bring against SQL Injection attacks. Versions before 42.7.2, 42.6.1, 42.5.5, 42.4.4, 42.3.9, and 42.2.28 are affected.
Published: 2024-02-19T12:58:48.620Z
Updated: 2025-11-03T21:52:29.022Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-41946 vulnerable 2026-06-08 05:49:28.943443 TemporaryFolder on unix-like systems does not limit access to created files in pgjdbc
MEDIUM (4.7)
pgjdbc is an open source postgresql JDBC Driver. In affected versions a prepared statement using either `PreparedStatement.setText(int, InputStream)` or `PreparedStatemet.setBytea(int, InputStream)` will create a temporary file if the InputStream is larger than 2k. This will create a temporary file which is readable by other users on Unix like systems, but not MacOS. On Unix like systems, the system's temporary directory is shared between all users on that system. Because of this, when files and directories are written into this directory they are, by default, readable by other users on that same system. This vulnerability does not allow other users to overwrite the contents of these directories or files. This is purely an information disclosure vulnerability. Because certain JDK file system APIs were only added in JDK 1.7, this this fix is dependent upon the version of the JDK you are using. Java 1.7 and higher users: this vulnerability is fixed in 4.5.0. Java 1.6 and lower users: no patch is available. If you are unable to patch, or are stuck running on Java 1.6, specifying the java.io.tmpdir system environment variable to a directory that is exclusively owned by the executing user will mitigate this vulnerability.
Published: 2022-11-23T00:00:00.000Z
Updated: 2025-11-03T21:46:35.067Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-31197 vulnerable 2026-06-08 05:43:40.367206 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.