CVE-2026-142199

Source
https://cve.org/CVERecord?id=CVE-2026-142199
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142199.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142199
Published
2026-12-02T16:50:50Z
Modified
2026-12-02T18:00:35Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal Computation
Details

NCalc before 7.5.0 contains an uncontrolled resource consumption vulnerability in MathHelper.Pow that allows attackers to exhaust CPU by supplying uncapped exponents with decimal operands. Attackers can submit expressions like Pow with a decimal base and huge exponent to hold server threads for seconds to hours, exhausting CPU and worker threads.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-407"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142199.json"
}
References

Affected packages

Git / github.com/ncalc/ncalc

Affected ranges

Type
GIT
Repo
https://github.com/ncalc/ncalc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "7.5.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "45349916ffa577936453e2aac619d0619de559a4"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v7.5.0",
            "range":  [
                {
                    "fixed":  "b8376eca58fabd2685ff5e045991dc53c185a5a7"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

5.*
5.2.1
v2.*
v2.0.0
v3.*
v3.13.1
v4.*
v4.0.0
v4.2.0
v5.*
v5.10.0
v5.2.3
v5.2.5

Database specific

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