HIGH 7.5
CVE-2026-137058
cron-parser through 5.10.0 Unbounded Memory Allocation via CronExpressionParser.parse()
Preliminary: affected artifacts
were inferred from the fix commits of the source repository
and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.
Description
Cron-parser through 5.10.0 contains an unbounded memory allocation vulnerability in CronExpressionParser.parse() that allows unauthenticated attackers to exhaust memory by supplying oversized cron fields. Attackers can submit a roughly 1.6 MB expression of repeated wildcard tokens that expand into huge arrays, exhausting the V8 heap and crashing the Node.js process.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » cron-parserpreliminary | <= 5.10.0< 95bac55c58b88d1b40b25ce637d983fb59645a14< 5b08cdf831c94a656def5a6ab7008f1e497d21b2 | 95bac55c58b88d1b40b25ce637d983fb59645a14, 5b08cdf831c94a656def5a6ab7008f1e497d21b2 |
Blast radius
Dependency propagation for this vulnerability will be available after the next index build.
References
| Advisory | CVE record CVE-2026-137058 | github.com |
| Advisory | harrisiirak/cron-parser release v5.10.1 | github.com |
| Advisory | harrisiirak/cron-parser advisory GHSA-r9w7-75q6-r884 | github.com |
| Advisory | NVD CVE-2026-137058 | nvd.nist.gov |
| Advisory | advisories/cron-parser-through-5.10.0-unbounded-memory-allocation-via-cronexpressionparser ... | vulncheck.com |
| Fix | harrisiirak/cron-parser commit 95bac55 | github.com |
| Fix | harrisiirak/cron-parser pull request #450 | github.com |
| Article | harrisiirak/cron-parser CronExpressionParser.ts | github.com |
| Package | harrisiirak/cron-parser | github.com |
| Web | registry.npmjs.org | registry.npmjs.org |
