CVE-2026-134848
published high CVSS 3.1 · 7.4pgjdbc lets a NUL character in a connection property add startup parameters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pgjdbc | — | org.postgresql:postgresqlpgjdbc · 0 to < 42.7.15 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcaarch64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcppc64le | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcs390x | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcx86_64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocaarch64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocppc64le | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocs390x | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocx86_64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgjdbc | pgjdbc | 0 to < 42.7.15 (affected · maven)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-158 CWE-158 Improper Neutralization of Null Byte or NUL Character
References
1Provider assertions
2PostgreSQL · cna
pgjdbc lets a NUL character in a connection property add startup parameters
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 24ad20cf1d5783a78e84424ba4fdf1eca7f6e1cd58030b0cfdc18d1364e03928
- Ingested
- 23 Nov 2026, 19:31:25 UTC
- Source record
- Official CVE record