{"id":"DEBIAN-CVE-2026-134848","details":"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.","modified":"2026-11-25T09:48:09.995506542Z","published":"2026-11-23T17:17:49.997Z","upstream":["CVE-2026-134848"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-134848"}],"affected":[{"package":{"name":"libpgjava","ecosystem":"Debian:12","purl":"pkg:deb/debian/libpgjava?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["42.5.4-1","42.5.5-0+deb12u1","42.6.0-1","42.6.0-2","42.7.0-1","42.7.1-1","42.7.10-1","42.7.11-1","42.7.12-1","42.7.13-1","42.7.14-1","42.7.15-1","42.7.2-1","42.7.3-1","42.7.3-2","42.7.5-1","42.7.5-2","42.7.6-1","42.7.7-1","42.7.7-2","42.7.8-1","42.7.8-2","42.7.9-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-134848.json"}},{"package":{"name":"libpgjava","ecosystem":"Debian:13","purl":"pkg:deb/debian/libpgjava?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["42.7.10-1","42.7.11-1","42.7.12-1","42.7.13-1","42.7.14-1","42.7.15-1","42.7.7-1","42.7.7-2","42.7.8-1","42.7.8-2","42.7.9-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-134848.json"}},{"package":{"name":"libpgjava","ecosystem":"Debian:14","purl":"pkg:deb/debian/libpgjava?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["42.7.10-1","42.7.11-1","42.7.12-1","42.7.13-1","42.7.14-1","42.7.15-1","42.7.7-1","42.7.7-2","42.7.8-1","42.7.8-2","42.7.9-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-134848.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}