
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
CVE-2026-134847 is a numeric truncation and resource exhaustion vulnerability in pgjdbc, the PostgreSQL JDBC Driver. When sending BigDecimal values in binary format (the default), the driver truncates the weight and scale to 16 bits, causing the PostgreSQL server to silently store a different numeric value than what was submitted. For example, 999999.99e-262144 is stored as 999999.99, and 1e131072 is stored as 0. Affected versions are 42.3.0 through 42.7.14; version 42.7.15 resolves the issue. The vulnerability carries a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory).
The root cause is a failure to validate the weight and scale fields of the PostgreSQL binary numeric format before encoding a BigDecimal value for transmission (CWE-197: Numeric Truncation Error). The binary numeric format supports a 16-bit weight and a 14-bit scale, but the driver performed no bounds checking, silently truncating out-of-range values. A secondary issue (CWE-400: Uncontrolled Resource Consumption) arises because the driver pre-computes 10^scale before sending the value; an input like 1e-200000000 forces this computation, consuming thread CPU for minutes per request. Both setBigDecimal() and setObject() on a PreparedStatement use the affected binary transfer path, which is enabled by default. No authentication is required to trigger either issue if the application accepts attacker-controlled decimal input (GitHub Advisory).
Successful exploitation has two distinct consequences: data integrity corruption and denial of service. An attacker who can supply decimal input to an application using pgjdbc can cause the database to silently store a completely different numeric value — for instance, a value that should fail a range check may instead be stored as a large number, undermining financial, scientific, or business logic that depends on accurate numeric storage. Additionally, submitting values with extreme exponents (e.g., 1e-200000000) can monopolize a JDBC driver thread for minutes per request, degrading application availability. There is no confidentiality impact (GitHub Advisory).
A proof-of-concept reproduction snippet is publicly available in the official GitHub Security Advisory, demonstrating the silent value substitution via ps.setBigDecimal(1, new BigDecimal("999999.99e-262144")). The vulnerability is automatable and requires no authentication or user interaction, making it straightforward to exploit at scale. The EPSS score is approximately 0.0035 (0.35%), and there is no evidence of in-the-wild exploitation or CISA KEV catalog listing as of the time of disclosure. Qualys has published a detection (ID 6783115) (GitHub Advisory).
setBigDecimal() or setObject() on a PreparedStatement.999999.99e-262144 (for silent value substitution) or 1e-200000000 (for CPU exhaustion/DoS).BigDecimal and binds to a parameterized SQL query.999999.99 instead of the intended tiny value, bypassing range checks without raising an error.1e-200000000; the driver attempts to compute 10^200000000 before sending, keeping the handling thread busy for minutes and degrading application responsiveness (GitHub Advisory).setBigDecimal() or setObject() with extreme-exponent numeric strings (e.g., values matching the pattern \d+e[+-]?\d{5,}) in application-level query logs.BigDecimal arithmetic or pgjdbc binary encoding methods.Upgrade org.postgresql:postgresql (pgjdbc) to version 42.7.15 or later, which validates weight and scale before binary encoding and avoids the premature 10^scale computation. If immediate patching is not feasible, consider disabling binary transfer mode for numeric types in the JDBC connection configuration (e.g., setting binaryTransfer=false as a connection property), which forces text-mode encoding and avoids the vulnerable code path. Additionally, restrict application inputs to validated numeric ranges before passing them to JDBC to reduce exposure (GitHub Advisory).
The vulnerability was assigned by PostgreSQL and published by maintainer sehrope via the official GitHub Security Advisory on November 23, 2026. Detection coverage was quickly added by Tenable (Nessus plugin 385439 and cloud security plugin 484112) and Qualys (detection ID 6783115). The CVE has been noted in automated threat intelligence feeds including Cloudflare Radar, VulDB, and Aikido Intel, though no significant independent researcher commentary or social media discussion has been identified beyond standard aggregation (GitHub Advisory).
主要なLinuxディストリビューションとそのリリース間での可用性を修正しましょう。
ソース: この報告書はAIを用いて作成されました
無料脆弱性評価
9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"