{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "42.3.0"
                  },
                  {
                    "last_affected": "42.7.14"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "6d93eb817f334b383d2c8716a50d8c1255e24236"
            },
            {
              "last_affected": "ebdd9d0a4017e74182eabb0cc304105a0120b647"
            }
          ],
          "repo": "https://github.com/pgjdbc/pgjdbc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cjcw-9r77-4gwm"
  ],
  "database_specific": {
    "cna_assigner": "PostgreSQL",
    "cwe_ids": [
      "CWE-197",
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134847.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "42.3.0"
              },
              {
                "fixed": "42.7.15"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-134847",
  "modified": "2026-11-23T20:45:52.598004435Z",
  "published": "2026-11-23T16:59:18.281Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134847.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pgjdbc/pgjdbc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134847"
    },
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "pgjdbc stores a different number for a BigDecimal outside the binary numeric range"
}