Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-134841
Published:November 23, 2026
Updated:November 29, 2026
pgjdbc, the PostgreSQL JDBC Driver, misreads some quoted text in its query parser. A "}" inside a literal ends a JDBC escape such as "{ts}", and the rest of the literal is translated as SQL. A dollar quote whose tag has a non-ASCII symbol or space is not recognized. An "E''" string with a doubled quote is scanned as a standard string. "{fn right}" and "{fn timestampdiff}" with a negative argument produce a "--" comment. In each case text that the application quoted correctly can run as SQL with the privileges of the application's database role. All versions before 42.7.15 are affected, and 42.7.15 fixes the problem.
Affected Packages
https://github.com/pgjdbc/pgjdbc.git (GITHUB):
Affected version(s) >=REL8_0_309 <REL42.7.15 || >=REL9_0_801 <REL42.7.15 || >=REL9.4.1207 <REL42.7.15 || >=REL42.0.0 <REL42.7.15
Fix Suggestion:
Update to version REL42.7.15
org.postgresql:postgresql (JAVA):
Affected version(s) >=42.0.0 <42.7.15 || >=9.2-1002-jdbc4 <42.7.15
Fix Suggestion:
Update to version 42.7.15
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command
EPSS
Base Score:
0.74