Skip to content
RedCVE

CVE-2026-134843Pgjdbc SQL injection

pgjdbcPublished:

CVSS score

7.5

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 close the connection when an unchecked exception interrupts a request. Part of a Bind message stays in the send buffer, and the server reads the bytes that follow as the rest of it. The bytes of a value uploaded later on the same connection can then run as a SQL command. Since 42.6.0 a setBinaryStream() value without a length that is executed again throws such an exception, as does the driver's own retry after SQLState 0A000 or 26000. An application stream that throws an unchecked exception has the same effect in all versions. All versions before 42.7.15 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
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Affected products

Affected productsVersions
pgjdbc Pgjdbc< 42.7.15

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-134843 being exploited?

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

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

CVE-2026-134843 has a CVSS 3.1 base score of 7.5 (high).

Which versions are affected?

Pgjdbc Pgjdbc (< 42.7.15)

Is there a patch for CVE-2026-134843?

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.