{"id":"CVE-2026-134847","aliases":["GHSA-cjcw-9r77-4gwm"],"title":"pgjdbc stores a different number for a BigDecimal outside the binary numeric range","originalDescription":"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.","severity":{"cvss":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.0058,"percentile":0.41678},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"org.postgresql:postgresql","range":">=42.3.0, <42.7.15","fixed":"42.7.15"}],"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm","type":"vendor-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134847.json","type":"advisory"},{"url":"https://github.com/pgjdbc/pgjdbc","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134847","type":"advisory"},{"url":"https://repo.maven.apache.org/maven2","type":"web"}],"sources":[{"name":"nvd","at":"2026-11-24T19:02:21.037Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134847","license":"NVD terms of use","firstSeenAt":"2026-11-23T17:41:18.719Z"},{"name":"osv","at":"2026-11-28T12:15:52.289Z","url":"https://osv.dev/vulnerability/CVE-2026-134847","license":"CC-BY 4.0","firstSeenAt":"2026-11-23T19:21:38.014Z"},{"name":"cvelistV5","at":"2026-11-24T11:51:10.271Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134847","license":"CVE Terms of Use","firstSeenAt":"2026-11-23T17:38:14.655Z"}],"firstSeenAt":"2026-11-23T17:38:14.655Z","publishedAt":"2026-11-23T16:59:18.281Z","modifiedAt":"2026-11-28T10:27:20.902Z"}