{"id":"CVE-2026-134847","aliases":["CVE-2026-134847"],"related":[],"kind":"vulnerability","state":"published","title":"pgjdbc stores a different number for a BigDecimal outside the binary numeric range","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-23T16:59:18.281Z","modified":"2026-11-24T18:56:39.360Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-197","CWE-400"],"affected":[{"ranges":[{"type":"maven","introduced":"42.3.0","fixed":"42.7.15","status":"affected"}],"vendor":"pgjdbc","product":"pgjdbc","package":"org.postgresql:postgresql","repo":"https://github.com/pgjdbc/pgjdbc","source":"cvelist"}],"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Anthropic OSS Scanner (ANT-2026-6FX8KOK1)"],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-23T19:27:51.233Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134847","url":"https://www.cve.org/CVERecord?id=CVE-2026-134847","licence":"CVE Terms of Use","modified":"2026-11-23T19:28:39.994Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134847","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134847","licence":"Public domain","modified":"2026-11-24T18:56:39.360Z"}],"updatedAt":"2026-11-25T22:59:52.673Z","epss":{"score":0.0058,"percentile":0.4907,"date":"2026-12-01T12:00:22.000Z"}}