Numeric Truncation Error in Postgresql JDBC Driver - CVE-2026-134847

 

Numeric Truncation Error in Postgresql JDBC Driver - CVE-2026-134847

Published: November 23, 2026


Vulnerability identifier: #VU169741
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-134847
CWE-ID: CWE-197
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to alter stored numeric values or cause a denial of service through excessive CPU use.

The vulnerability exists due to unchecked numeric truncation and unbounded scale calculations in pgjdbc's binary numeric encoder when it encodes BigDecimal parameters. A remote attacker can supply decimal inputs that the application parses and binds as BigDecimal values to cause PostgreSQL to store a different number or tie up a driver thread.


Affected software

Postgresql JDBC Driver

How to mitigate CVE-2026-134847

Install security update from vendor's website.

Postgresql JDBC Driver - update to 42.7.15

External References

Related Security Bulletins