Improper handling of exceptional conditions in Postgresql JDBC Driver - CVE-2026-134843

 

Improper handling of exceptional conditions in Postgresql JDBC Driver - CVE-2026-134843

Published: November 23, 2026


Vulnerability identifier: #VU169757
CSH Severity: Low
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-134843
CWE-ID: CWE-755
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL as the application's database role.

The vulnerability exists due to improper handling of unchecked exceptions in pgjdbc's Bind message writer, which leaves the connection open with a partially written message when stream processing or statement re-execution interrupts a write. A remote user can supply an uploaded value that the server misinterprets as SQL on the desynchronized connection to execute commands as the application's database role.


Affected software

Postgresql JDBC Driver

How to mitigate CVE-2026-134843

Install security update from vendor's website.

Postgresql JDBC Driver - update to 42.7.15

External References

Related Security Bulletins