Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-134842

published high CVSS 3.1 · 8.1

pgjdbc simple query mode quotes parameters for the wrong standard_conforming_strings value

Published
23 Nov 2026, 16:59:14 UTC
Updated
23 Nov 2026, 19:34:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pgjdbc — org.postgresql:postgresqlpgjdbc · 0 to < 42.7.15 · Other versions: unaffected Affected Not stated PostgreSQL
Amazon Linux AL2 Release evaluation Not Affected Not required 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 / vendorReleasePackage / productPublisher statusFixed buildSource
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, 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.

en · PostgreSQL · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 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:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pgjdbc pgjdbc 0 to < 42.7.15 (affected · maven)Default: unaffected PostgreSQL · cna

Weaknesses

1
  • CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (PostgreSQL · cna)

References

1

Provider assertions

2

PostgreSQL · cna

pgjdbc simple query mode quotes parameters for the wrong standard_conforming_strings value

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0540dba0a85e70a13605ef016c8e9f8d5890e9e15b0de40983e6aa28d81930ec
Ingested
23 Nov 2026, 19:41:37 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected