All vulnerabilities

Maven

CVE-2026-134847

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

Severity
Medium 6.5
Published
23 Nov 2026
Last changed
23 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
42.7.15
Exploit chance
0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-197Uncontrolled resource consumption (CWE-400)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
org.postgresql:postgresqlMaven · osv:Maven:org.postgresql:postgresql
  • From 42.3.0 before 42.7.15

About org.postgresql:postgresql

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134847