CVE-2026-134847: pgjdbc stores a different number for a BigDecimal outside the binary numeric range
Vulnerability summary
CVE-2026-134847 is a medium (CVSS 6.5) Numeric Truncation Error vulnerability in pgjdbc. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 49.1% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 23-11-2026PublishedVulnerability first disclosed.
- 23-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard4 products
- flyway< 13.13.0-r3
- flyway-fips< 13.13.0-r1
- keycloak-26.8< 26.8.2-r2
- keycloak-26.8-iamguarded-compat< 26.8.2-r2
Debian1 product
- libpgjavaAll versions (No fix recorded) | < 42.7.15-1
Pgjdbc1 product
- pgjdbc≥ 42.3.0, < 42.7.15
Ubuntu1 product
- libpgjavaAll versions (No fix recorded)
Wolfi1 product
- flyway< 13.13.0-r3
5 vendors · 8 products
References
8 links- github.com/pgjdbc/pgjdbcPACKAGE