CVE-2026-134841 Affecting libpgjava package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBPGJAVA-22840215
  • published24 Nov 2026
  • disclosed23 Nov 2026

Introduced: 23 Nov 2026

NewCVE-2026-134841  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest libpgjava.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpgjava package and not the libpgjava package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.