CVE-2026-134847: Libpgjava · pgjdbc, the PostgreSQL JDBC Driver, cuts the weight and scale of a BigDecimal to 16 bits
Affects libpgjavaSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 42.7.15 : update libpgjava when convenient.
Data as of 25 Nov 2026, 23:05 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 42.7.15
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/bionicOther threats | Affected
| 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, where this issue is fixed. No other mitigation is indicated or required.
Description
The PostgreSQL JDBC Driver (pgjdbc) versions 42.3.0 through 42.7.14 have a vulnerability where the driver truncates the weight and scale of BigDecimal values to 16 bits when sending them in binary format. This causes the server to store altered numeric values without error, potentially allowing small values to bypass range checks and be stored as much larger numbers. Additionally, the driver’s computation of 10 to the power of the scale can cause excessive CPU usage for very small scale values. Version 42.7.15 addresses and fixes this issue.