npm
CVE-2026-124016
postal-mime < 4.2.1 Algorithmic Complexity DoS via processLine
- Severity
- Medium 6.9
- Published
- 10 Nov 2026
- Last changed
- 13 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.2.1
- Exploit chance
- 0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
postal-mimenpm · osv:npm:postal-mime |
|
About postal-mime
- Weekly downloads (npm)
- 20,575,176npm, 24 Nov 2026
Vulnerabilities in postal-mime
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-125756postal-mime before 4.2.1 Sender Spoofing via Address Parser Domain TruncationHigh 8.2 10 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-124016