Bug 2582083 (CVE-2026-134841) - CVE-2026-134841 org.postgresql/postgresql: postgresql-jdbc: postgresql-jdbc: SQL injection via query parser flaw
Summary: CVE-2026-134841 org.postgresql/postgresql: postgresql-jdbc: postgresql-jdbc: ...
Keywords:
Status: NEW
Alias: CVE-2026-134841
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-23 19:41 UTC by OSIDB Bzimport
Modified: 2026-11-23 19:51 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-23 19:41:44 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.