CVE-2026-124016
postal-mime before 4.2.1 contains an algorithmic complexity denial of service vulnerability that allows unauthenticated remote attackers to cause excessive CPU…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of outages.
Affected products · Postalsys
| Product | Affected versions |
|---|---|
| Postal-mime | before 4.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/postalsys/postal-mime/security/advisories/GHSA-q8wm-54mj-r36p
- https://github.com/postalsys/postal-mime/releases/tag/v4.2.1
- https://www.vulncheck.com/advisories/postal-mime-algorithmic-complexity-dos-via-processline
- https://github.com/advisories/GHSA-2h8j-5q45-j7q7
- https://nvd.nist.gov/vuln/detail/CVE-2026-124016