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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-134847, UBUNTU-CVE-2026-134847, CGA-4cjv-65fv-j593, CGA-c2jc-7mr2-ww28, CGA-c9c2-87w7-5pch, CGA-wv3x-cmvj-rv27, CGA-5fq5-98wv-3vjp, CGA-37ff-w8rj-hqmg, CGA-hw36-r22h-7pph, CGA-wfgr-mq75-gm5w
- Record: https://cvemate.com/vulnerability/CVE-2026-134847 · JSON: https://cvemate.com/vulnerability/CVE-2026-134847/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- EPSS: 0.58%, percentile 49.145%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard flyway (Chainguard): \< 13.13.0-r3
- chainguard flyway-fips (Chainguard): \< 13.13.0-r1
- chainguard keycloak-26.8 (Chainguard): \< 26.8.2-r2
- chainguard keycloak-26.8-iamguarded-compat (Chainguard): \< 26.8.2-r2
- wolfi flyway (Wolfi): \< 13.13.0-r3
- debian libpgjava (Debian): All versions (No fix recorded) \| \< 42.7.15-1
- ubuntu libpgjava (Ubuntu): All versions (No fix recorded)
- pgjdbc pgjdbc: ≥ 42.3.0, \< 42.7.15

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm>
- <https://security-tracker.debian.org/tracker/CVE-2026-134847>
- <https://ubuntu.com/security/CVE-2026-134847>
- <https://www.cve.org/CVERecord?id=CVE-2026-134847>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134847.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-134847>
- <https://github.com/pgjdbc/pgjdbc>

---

Data as of 2026-12-05T05:18:58.175Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
