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

Published Updated

Tiny BigDecimal values passed to pgjdbc can be stored as large ones or make threads busy for minutes, affecting Java apps using it.

CVSS score

Medium

6.5/10

CVSS 3.1 · Scored by PostgreSQL Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Over the internet
No login, no user action

What is CVE-2026-134847?

CVE-2026-134847 is a medium-severity denial of service vulnerability in pgjdbc, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-400, CWE-197

How severe is CVE-2026-134847?

CVE-2026-134847 scores 6.5 out of 10 under CVSS 3.1, which is medium severity. It was scored by PostgreSQL.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

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

Which versions are affected by CVE-2026-134847?

An affected version is only exploitable if your software calls BigDecimal. Many projects that include it are not exposed.

How do I fix CVE-2026-134847?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-134847 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134847 exists.

Sources

Also known as DEBIAN-CVE-2026-134847, GHSA-cjcw-9r77-4gwm, UBUNTU-CVE-2026-134847.

Is CVE-2026-134847 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free