CVE-2026-134847

published 23 Nov 2026 · updated 24 Nov 2026

pgjdbc stores a different number for a BigDecimal outside the binary numeric range

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 42.7.15.

pgjdbc, the PostgreSQL JDBC Driver, cuts the weight and scale of a BigDecimal to 16 bits when it sends the value in binary, which is the default. The server then stores a different number without an error. For example 999999.99e-262144 is stored as 999999.99, so a tiny value can pass a range check and be stored as a large one. The driver also computes 10 to the power of the scale first, so a short value such as 1e-200000000 keeps a thread busy for minutes. Versions 42.3.0 through 42.7.14 are affected, and 42.7.15 fixes the problem.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pgjdbc>=42.3.0 <42.7.1542.7.15

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-134847 severity on Zeptric[![CVE-2026-134847](https://zeptric.io/badge/cve/CVE-2026-134847.svg)](https://zeptric.io/cve/CVE-2026-134847)