8.1

CVE-2026-134841: pgjdbc parses quoted text as SQL in JDBC escapes, dollar quotes and E strings

Awaiting analysis
AliasesDEBIAN-CVE-2026-134841UBUNTU-CVE-2026-134841CGA-2qr4-7rgx-67pr
Published 23-11-2026Last modified 23-11-2026

Vulnerability summary

CVE-2026-134841 is a high (CVSS 8.1) vulnerability in pgjdbc. EPSS estimates a 0.74% chance of exploitation in the next 30 days, higher than 56% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.74%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 23-11-2026
    PublishedVulnerability first disclosed.
  2. 23-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.74%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

24-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard4 products
  • flyway< 13.13.0-r3
  • flyway-fips< 13.13.0-r1
  • keycloak-26.8< 26.8.2-r2
  • keycloak-26.8-iamguarded-compat< 26.8.2-r2
Debian1 product
  • libpgjavaAll versions (No fix recorded) | < 42.7.15-1
Pgjdbc1 product
Ubuntu1 product
  • libpgjavaAll versions (No fix recorded)
Wolfi1 product
  • flyway< 13.13.0-r3

5 vendors · 8 products

References

8 links