postal-mime < 4.2.1 Algorithmic Complexity DoS via processLine
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 10, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 6, 2026
Description
postal-mime before 4.2.1 contains an algorithmic complexity denial of service vulnerability that allows unauthenticated remote attackers to cause excessive CPU consumption in the PostalMime.processLine() function by crafting deeply nested multipart email messages with boundary lines sharing long prefixes with open boundaries. Attackers can deliver a malicious email with nesting up to the default maxNestingDepth of 256, causing per-line parsing cost to scale as O(depth x shared prefix length) and blocking the Node.js event loop for seconds per message.
| Product | Versions |
|---|---|
| postal-mime postalsys | before 4.2.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-407 Inefficient Algorithmic Complexity
References
- GitHub Security Advisory (GHSA-q8wm-54mj-r36p)Vendor Advisory
- Fixed Release TagRelease NotesPatch
- VulnCheck Advisory: postal-mime < 4.2.1 Algorithmic Complexity DoS via processLineThird-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.