{"id":"DEBIAN-CVE-2026-134842","details":"pgjdbc, the PostgreSQL JDBC Driver, can quote a string parameter for the wrong value of standard_conforming_strings when preferQueryMode=simple is set. A statement, trigger or configuration reload can turn the setting off during a session. A parameter value with a backslash and a quote then ends the literal, and the rest of the value runs as SQL. Before 42.7.6 any session with the setting off was affected. The statement cache can also reuse a parse made under the other setting. With allowEncodingChanges=true and the EUC_JP or SJIS client encoding, the yen sign acts as a backslash. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.","modified":"2026-11-26T16:00:06.313779930Z","published":"2026-11-23T17:17:49.230Z","upstream":["CVE-2026-134842"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-134842"}],"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/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-134842.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/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-134842.json"}},{"package":{"name":"libpgjava","ecosystem":"Debian:14","purl":"pkg:deb/debian/libpgjava?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"42.7.15-1"}]}],"versions":["42.7.10-1","42.7.11-1","42.7.12-1","42.7.13-1","42.7.14-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/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-134842.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:H"}]}