Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.5CVE-2026-134847

CVE-2026-134847: pgjdbc stores a different number for a BigDecimal outside the binary numeric range

pgjdbc pgjdbc

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134847: medium-severity vulnerability (CVSS 6.5) in pgjdbc pgjdbc.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.5.

Affected products and versions

pgjdbc pgjdbc >= 42.3.0, < 42.7.15

ProductVersionsFixed in
pgjdbc pgjdbc>= 42.3.0, < 42.7.15—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-197, CWE-400

Relevant change history

  1. Published

    Preliminary advisory published.