← VULNERABILITIES

CVE-2026-134847

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

Medium · 6.5Fix available
CVSS
6.5
EPSS
0.58% (p42)
Published
2026-11-23
Age
6d old
Modified
2026-11-28
Product
pgjdbc pgjdbc
Aliases
GHSA-cjcw-9r77-4gwm

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Description

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.

Fixed in

42.7.15

Affected packages

EcosystemPackageRangeFixed
unknownorg.postgresql:postgresql>=42.3.0, <42.7.1542.7.15

Sources

  • NVD · first seen 6d ago · NVD terms of use
  • OSV · first seen 6d ago · CC-BY 4.0
  • CVE List · first seen 6d ago · CVE Terms of Use

References

JSON