CVE-2026-124016 postal-mime < 4.2.1 Algorithmic Complexity DoS via processLine
MediumCVSS 6.9
EPSS 0.67%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm postal-mime | < 4.2.1 | 4.2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm postal-mime | < 4.2.1 | 4.2.1 |
References
- GitHub Security Advisory (GHSA-q8wm-54mj-r36p) exploit vendor-advisory
- Fixed Release Tag patch release-notes
- VulnCheck Advisory: postal-mime < 4.2.1 Algorithmic Complexity DoS via processLine third-party-advisory
- ENISA EUVD EUVD-2026-122665 third-party-advisory