cron-parser before 5.10.1 Unbounded Memory Allocation via CronExpressionParser.parse()
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 25, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 25, 2026
Description
Cron-parser before 5.10.1 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.
| Product | Versions |
|---|---|
| cron-parser harrisiirak | before 5.10.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- GitHub Security Advisory (GHSA-r9w7-75q6-r884)Vendor Advisory
- https://github.com/harrisiirak/cron-parser/pull/450Issue TrackerPatch
- https://github.com/harrisiirak/cron-parser/commit/95bac55c58b88d1b40b25ce637d983fb59645a14Patch
- cron-parser v5.10.1 Release NotesRelease Notes
- https://github.com/harrisiirak/cron-parser/blob/v5.10.0/src/CronExpressionParser.ts#L399-L428Technical Details
- VulnCheck Advisory: cron-parser before 5.10.1 Unbounded Memory Allocation via CronExpressionParser.parse()Third-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.