{"api_version":"1","generated_at":"2026-11-23T18:16:32+00:00","cve":"CVE-2026-134847","urls":{"html":"https://cve.report/CVE-2026-134847","api":"https://cve.report/api/cve/CVE-2026-134847.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134847","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134847"},"summary":{"title":"pgjdbc stores a different number for a BigDecimal outside the binary numeric range","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.","state":"PUBLISHED","assigner":"PostgreSQL","published_at":"2026-11-23 17:17:49","updated_at":"2026-11-23 17:17:49"},"problem_types":["CWE-197","CWE-400","CWE-197 CWE-197 Numeric Truncation Error","CWE-400 CWE-400 Uncontrolled Resource Consumption"],"metrics":[{"version":"3.1","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","type":"Secondary","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"6.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"references":[{"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm","name":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm","refsource":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-134847","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134847","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"pgjdbc","product":"pgjdbc","version":"affected 42.3.0 42.7.15 maven","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-10-16T00:00:00.000Z","lang":"en","value":"Reported by Anthropic OSS Scanner (ANT-2026-6FX8KOK1)."}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to pgjdbc 42.7.15 or later.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Set binaryTransfer=false, or reject BigDecimal values with a very large or very small exponent before binding them.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"Anthropic OSS Scanner (ANT-2026-6FX8KOK1)","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.maven.apache.org/maven2","defaultStatus":"unaffected","packageName":"org.postgresql:postgresql","product":"pgjdbc","programFiles":["pgjdbc/src/main/java/org/postgresql/util/ByteConverter.java","pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java"],"programRoutines":[{"name":"org.postgresql.util.ByteConverter.numeric"},{"name":"org.postgresql.jdbc.PgPreparedStatement.setBigDecimal"}],"repo":"https://github.com/pgjdbc/pgjdbc","vendor":"pgjdbc","versions":[{"lessThan":"42.7.15","status":"affected","version":"42.3.0","versionType":"maven"}]}],"credits":[{"lang":"en","type":"finder","value":"Anthropic OSS Scanner (ANT-2026-6FX8KOK1)"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-197","description":"CWE-197 Numeric Truncation Error","lang":"en","type":"CWE"},{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-23T16:59:18.281Z","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","shortName":"PostgreSQL"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm"}],"solutions":[{"lang":"en","value":"Upgrade to pgjdbc 42.7.15 or later."}],"timeline":[{"lang":"en","time":"2026-10-16T00:00:00.000Z","value":"Reported by Anthropic OSS Scanner (ANT-2026-6FX8KOK1)."}],"title":"pgjdbc stores a different number for a BigDecimal outside the binary numeric range","workarounds":[{"lang":"en","value":"Set binaryTransfer=false, or reject BigDecimal values with a very large or very small exponent before binding them."}]}},"cveMetadata":{"assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","assignerShortName":"PostgreSQL","cveId":"CVE-2026-134847","datePublished":"2026-11-23T16:59:18.281Z","dateReserved":"2026-11-22T17:13:47.180Z","dateUpdated":"2026-11-23T16:59:18.281Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-23 17:17:49","lastModifiedDate":"2026-11-23 17:17:49","problem_types":["CWE-197","CWE-400","CWE-197 CWE-197 Numeric Truncation Error","CWE-400 CWE-400 Uncontrolled Resource Consumption"],"metrics":{"cvssMetricV31":[{"source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":2.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"134847","Ordinal":"1","Title":"pgjdbc stores a different number for a BigDecimal outside the bi","CVE":"CVE-2026-134847","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"134847","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"pgjdbc stores a different number for a BigDecimal outside the bi"}]}}}