Improper Neutralization of Null Byte or NUL Character in Postgresql JDBC Driver - CVE-2026-134848

 

Improper Neutralization of Null Byte or NUL Character in Postgresql JDBC Driver - CVE-2026-134848

Published: November 23, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to override PostgreSQL connection settings and potentially gain unauthorized database access or elevated privileges.

The vulnerability exists due to improper neutralization of NUL characters in the PostgreSQL JDBC driver's startup message serializer when encoding connection settings as NUL-terminated fields. A remote attacker can supply crafted connection settings through application inputs or JDBC URLs to override startup parameters, but access under a different role still depends on server authentication.


Affected software

Postgresql JDBC Driver

How to mitigate CVE-2026-134848

Install security update from vendor's website.

Postgresql JDBC Driver - update to 42.7.15

External References

Related Security Bulletins