CVE-2026-134847

Source
https://cve.org/CVERecord?id=CVE-2026-134847
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134847.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-134847
Aliases
  • GHSA-cjcw-9r77-4gwm
Downstream
Published
2026-11-23T16:59:18Z
Modified
2026-11-23T20:45:52Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
pgjdbc stores a different number for a BigDecimal outside the binary numeric range
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.

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"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/pgjdbc/pgjdbc

Affected ranges

Type
GIT
Repo
https://github.com/pgjdbc/pgjdbc
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "42.3.0"
                },
                {
                    "last_affected":  "42.7.14"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

REL42.*
REL42.3.0
REL42.3.0-rc2
REL42.3.1
REL42.3.1-rc1
REL42.3.1-rc2
REL42.3.2
REL42.3.2-rc2
REL42.3.3
REL42.3.3-rc1
REL42.3.4
REL42.3.4-rc1
REL42.3.5
REL42.3.5-rc1
REL42.3.6
REL42.3.6-rc1
REL42.4.0
REL42.4.0-rc1
REL42.4.1
REL42.4.1-rc1
REL42.4.2
REL42.4.2-rc1
REL42.5.0
REL42.5.0-rc1
REL42.5.1
REL42.5.1-rc1
REL42.5.2
REL42.5.2-rc1
REL42.5.2-rc2
REL42.6.0
REL42.6.0-rc1
REL42.7.0
REL42.7.0-rc3
REL42.7.1
REL42.7.1-rc1
REL42.7.1-rc2
REL42.7.10
REL42.7.11
REL42.7.13
REL42.7.14
REL42.7.2
REL42.7.2-rc1
REL42.7.2-rc2
REL42.7.2-rc3
REL42.7.2-rc4
REL42.7.2-rc5
REL42.7.3
REL42.7.3-rc1
REL42.7.4
REL42.7.4-rc1
REL42.7.5
REL42.7.5-rc1
REL42.7.6
REL42.7.6-rc1
REL42.7.7
REL42.7.7-rc1
REL42.7.8
REL42.7.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134847.json"