CVE-2026-134848

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.
Configurations

No configuration.

History

23 Nov 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-23 17:17

Updated : 2026-11-24 18:56


NVD link : CVE-2026-134848

Mitre link : CVE-2026-134848

CVE.ORG link : CVE-2026-134848


JSON object : View

Products Affected

No product.

CWE
CWE-158

Improper Neutralization of Null Byte or NUL Character