Skip to content
RedCVE

CVE-2026-134845Pgjdbc improper certificate validation

pgjdbcPublished:

CVSS score

7.4

High

CVSS 3.1 from f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Exploit probability (EPSS)

No EPSS score yet.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it. When sslmode is not set, an ssl value such as 1, on, yes or verify-full gives sslmode=prefer, or no TLS before 42.2.5. A service given in the Properties instead of the URL is ignored, so the sslmode of its pg_service.conf entry is lost. BaseDataSource.setUrl() keeps an sslmode, channelBinding or gssEncMode that was set before it. An attacker on the network path can then read and change the traffic. Versions 9.4.1208 through 42.7.14 are affected, and 42.7.15 fixes the problem.

Source: NVD · CNA: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Pgjdbc and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Pgjdbc to 42.7.15 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

Affected productsVersions
pgjdbc Pgjdbc≥ 9.4.1208, < 42.7.15

Weakness

  • CWE-295 improper certificate validation
  • CWE-319 cleartext transmission of sensitive information

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-134845 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far.

What is the CVSS score of CVE-2026-134845?

CVE-2026-134845 has a CVSS 3.1 base score of 7.4 (high).

Which versions are affected?

Pgjdbc Pgjdbc (≥ 9.4.1208, < 42.7.15)

Is there a patch for CVE-2026-134845?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.