Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-134843
Published:November 23, 2026
Updated:November 24, 2026
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.
Affected Packages
https://github.com/pgjdbc/pgjdbc.git (GITHUB):
Affected version(s) >=REL8_0_309 <REL42.7.15 || >=REL9_0_801 <REL42.7.15 || >=REL9.4.1207 <REL42.7.15 || >=REL42.0.0 <REL42.7.15
Fix Suggestion:
Update to version REL42.7.15
org.postgresql:postgresql (JAVA):
Affected version(s) >=9.2-1002-jdbc4 <42.7.15 || >=42.0.0 <42.7.15
Fix Suggestion:
Update to version 42.7.15
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Handling of Exceptional Conditions
Improper Neutralization of Special Elements used in an SQL Command
EPSS
Base Score:
0.39