Incorrect Conversion between Numeric Types Affecting postgresql-jdbc package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.58% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-POSTGRESQLJDBC-23708216
  • published4 Dec 2026
  • disclosed23 Nov 2026

Introduced: 23 Nov 2026

NewCVE-2026-134847  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 postgresql-jdbc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-jdbc package and not the postgresql-jdbc package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1