CVE-2026-134848
Published:November 23, 2026
Updated:November 24, 2026
pgjdbc, the PostgreSQL JDBC Driver, does not refuse a NUL character in a startup parameter. The StartupMessage is a list of NUL-terminated strings, so a NUL in the database name, user, currentSchema, options or ApplicationName adds further parameters. %00 in a URL decodes to a NUL. Someone who controls part of the URL or a property can choose another login role or add replication=database, although the connection still has to pass the authentication of that role. On a server that trusts the client, the attacker can log in as any role. 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.15Fix Suggestion:
Update to version REL42.7.15org.postgresql:postgresql (JAVA):
Affected version(s) >=9.2-1002-jdbc4 <42.7.15 || >=42.0.0 <42.7.15Fix Suggestion:
Update to version 42.7.15Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Null Byte or NUL Character
EPSS
Base Score:
0.38