CVE-2026-134847
published medium CVSS 3.1 · 6.5pgjdbc stores a different number for a BigDecimal outside the binary numeric range
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pgjdbc | — | org.postgresql:postgresqlpgjdbc · 42.3.0 to < 42.7.15 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcaarch64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcppc64le | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcs390x | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcx86_64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocaarch64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocppc64le | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocs390x | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocx86_64 | Advisory build | 42.7.15-1.1 | OPENSUSE-SU-2026:12715-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgjdbc | pgjdbc | 42.3.0 to < 42.7.15 (affected · maven)Default: unaffected | PostgreSQL · cna |
Weaknesses
2- CWE-197 CWE-197 Numeric Truncation Error
- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
1Provider assertions
2PostgreSQL · cna
pgjdbc stores a different number for a BigDecimal outside the binary numeric range
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 99d7ac14b06528338b7751b8114d2250b8005b97edcfaa8b2d1868ab40e13340
- Ingested
- 23 Nov 2026, 19:31:25 UTC
- Source record
- Official CVE record