# CVE-2026-134848: pgjdbc lets a NUL character in a connection property add startup parameters

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 42.7.15 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-134848, UBUNTU-CVE-2026-134848, CGA-762q-688v-7pgx, CGA-c4mm-xfw9-6q8p, CGA-pq7p-954h-3qm3, CGA-vr5x-44ff-8362, CGA-cpj5-cq94-jpv2, CGA-2w64-28r3-hq53, CGA-pvw3-ww84-g5wg
- Record: https://cvemate.com/vulnerability/CVE-2026-134848 · JSON: https://cvemate.com/vulnerability/CVE-2026-134848/json

## Description

```text
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.
```

## Signals

- CVSS: 7.4 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.659%, percentile 52.942%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard flyway (Chainguard): \< 13.13.0-r3
- chainguard flyway-fips (Chainguard): \< 13.13.0-r1
- chainguard keycloak-26.8 (Chainguard): \< 26.8.2-r2
- chainguard keycloak-26.8-iamguarded-compat (Chainguard): \< 26.8.2-r2
- wolfi flyway (Wolfi): \< 13.13.0-r3
- debian libpgjava (Debian): All versions (No fix recorded) \| \< 42.7.15-1
- ubuntu libpgjava (Ubuntu): All versions (No fix recorded)
- pgjdbc pgjdbc: \< 42.7.15

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m>
- <https://security-tracker.debian.org/tracker/CVE-2026-134848>
- <https://ubuntu.com/security/CVE-2026-134848>
- <https://www.cve.org/CVERecord?id=CVE-2026-134848>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134848.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-134848>
- <https://github.com/pgjdbc/pgjdbc>

---

Data as of 2026-12-05T05:18:59.373Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
