{"id":"CVE-2026-134842","aliases":[],"cve":{"records":[{"id":"CVE-2026-134842","source":"PostgreSQL","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-22T17:13:47.180Z","published":"2026-11-23T16:59:14.633Z","modified":"2026-11-23T19:34:50.421Z"}],"publishers":[{"name":"PostgreSQL","role":"CNA","organizationId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","modified":"2026-11-23T16:59:14.633Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-23T19:34:50.421Z"}],"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff","tags":["vendor-advisory"],"source":"PostgreSQL"},{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff","tags":["exploit"],"source":"CISA-ADP"}],"weaknesses":[{"id":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","source":"PostgreSQL"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-23T19:34:07.012419Z","decisions":[{"name":"Exploitation","value":"poc"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"title":"pgjdbc simple query mode quotes parameters for the wrong standard_conforming_strings value","titleSource":"PostgreSQL","descriptionSource":"PostgreSQL","description":"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.","score":8.1,"severity":"high","published":"2026-11-23T16:59:14.633Z","modified":"2026-11-23T19:34:50.421Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"pgjdbc","name":"pgjdbc","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"42.7.15","versionType":"maven"}],"defaultStatus":"unaffected","cpes":[],"source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-134842"}],"remediation":[{"text":"Upgrade to pgjdbc 42.7.15 or later.","source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-134842"},{"text":"Use the default extended query mode, or keep standard_conforming_strings on.","source":"PostgreSQL","url":"https://www.cve.org/CVERecord?id=CVE-2026-134842"}],"references":["https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff"],"sources":[{"name":"CVE","id":"CVE-2026-134842","modified":"2026-11-23T19:34:50.421Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134842"}],"assessments":[{"source":"PostgreSQL","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1}],"sourceAffected":[],"observedAt":"2026-11-23T19:46:05.760Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:20:32.105Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-23T17:15:35.664Z","attemptedAt":"2026-11-23T17:15:35.664Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-23T17:15:36.153Z","attemptedAt":"2026-11-23T17:15:36.153Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-23T17:15:36.551Z","attemptedAt":"2026-11-23T17:15:36.551Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-23T17:15:36.203Z","attemptedAt":"2026-11-23T17:15:36.203Z"}],"evidence":[],"aiSummary":{"text":"The pgjdbc PostgreSQL JDBC Driver, versions before 42.7.15, may incorrectly quote string parameters when standard_conforming_strings is off, allowing SQL injection. A session with the setting off is affected. The yen sign can act as a backslash with certain client encodings.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-23T17:06:05.032Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-134842"}]}}