{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142199",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-12-02T15:28:38.081Z",
        "datePublished": "2026-12-02T16:50:50.455Z",
        "dateUpdated": "2026-12-02T16:50:50.455Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-12-02T16:50:50.455Z"
            },
            "datePublic": "2026-11-13T00:00:00.000Z",
            "title": "NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal Computation",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Inefficient Algorithmic Complexity",
                            "cweId": "CWE-407",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "ncalc",
                    "product": "NCalc",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "7.5.0",
                            "versionType": "semver",
                            "status": "affected"
                        }
                    ],
                    "packageURL": "pkg:nuget/NCalc.Core",
                    "repo": "https://github.com/ncalc/ncalc"
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:ncalc:ncalc:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "7.5.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/ncalc/ncalc/blob/v7.4.0/src/NCalc.Core/Helpers/MathHelper.cs#L285-L301",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/ncalc/ncalc/issues/639",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/ncalc/ncalc/commit/45349916ffa577936453e2aac619d0619de559a4",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/ncalc/ncalc/releases/tag/v7.5.0",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "NCalc v7.5.0 Release Notes"
                },
                {
                    "url": "https://www.vulncheck.com/advisories/ncalc-before-7.5.0-cpu-exhaustion-via-unbounded-pow-bigdecimal-computation",
                    "name": "VulnCheck Advisory: NCalc before 7.5.0 CPU Exhaustion via Unbounded Pow BigDecimal Computation",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Zachariah Mithani (AploSec)",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}