Skip to main content
VulnerabilityPublished Updated

CVE-2026-134841: Libpgjava · pgjdbc, the PostgreSQL JDBC Driver, misreads some quoted text in its query parser

Affects libpgjavaSource GCVE Database

0
Compare
Authoritative record:CVE-2026-134841· High 8.1

Not known to be exploited · CVSS 8.1 High · fixed in 42.7.15 : patch libpgjava soon.

Data as of 25 Nov 2026, 22:54 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PostgreSQL)CVSS 3.18.1
Patch
Available – fixed in 42.7.15
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=stonkingOther threatsAffected
  • 42.7.10-1 – 42.7.13-1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=resoluteOther threatsAffected
  • 42.7.7-1 – 42.7.10-1
5 affected builds
Fixed in–
Ubuntu 24.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=nobleOther threatsAffected
  • 42.5.4-1 – 42.7.2-1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=jammyOther threatsAffected
  • 42.2.23-1 – 42.3.3-1
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/focalOther threatsAffected
  • 42.2.6-1 – 42.2.10-1ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/bionicOther threatsAffected
  • =9.4.1212-1
  • =9.4.1212-1ubuntu0.1~esm1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to pgjdbc version 42.7.15 or later, which contains fixes for these parsing vulnerabilities. No other mitigations are indicated or required as the fix addresses the root cause.

Description

The PostgreSQL JDBC Driver (pgjdbc) contains a query parser flaw where certain quoted text is misinterpreted. This includes premature termination of JDBC escapes by a '}', unrecognized dollar quotes with non-ASCII or space tags, incorrect scanning of E'' strings with doubled quotes, and SQL comment injection via {fn right} and {fn timestampdiff} functions with negative arguments. These parsing errors allow text that was intended as a literal to be executed as SQL with the application's database role privileges. Versions before 42.7.15 are affected, with 42.7.15 providing a fix.

References

Community reviews

Loading reviews…