CVE-2026-134848

published 23 Nov 2026 · updated 24 Nov 2026

pgjdbc lets a NUL character in a connection property add startup parameters

7.4HighCVSS 7.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 42.7.15.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pgjdbc<42.7.1542.7.15

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-134848 severity on Zeptric[![CVE-2026-134848](https://zeptric.io/badge/cve/CVE-2026-134848.svg)](https://zeptric.io/cve/CVE-2026-134848)