Algorithmic complexity denial of service in postal-mime email parsing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.
Summary
postal-mime before 4.2.1 contains an algorithmic complexity denial of service flaw in the PostalMime.processLine() function. An unauthenticated remote attacker can send a deeply nested multipart email with boundary lines that share long prefixes, causing excessive CPU use that blocks the Node.js event loop for seconds per message. The flaw is classified as CWE-407.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The fixed version is postal-mime 4.2.1 from the postalsys vendor. Update postal-mime to version 4.2.1 or later.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA postal-mime (postalsys) Fixed in 4.2.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
postalsys postal-mime 4.2.1
2 records Highest priority Priority HIGH 1 HIGH, 1 LOW
Other records, highest priority first
- TI-2026-87774 Sender spoofing in postal-mime via address parser domain truncationPriority LOW 36
Timeline
- 2026-11-10 Threatist record created from CVE-2026-124016
- 2026-11-10 CISA SSVC decision points changed
- 2026-11-10 Priority changed: MEDIUM → HIGH
- 2026-11-10 Alias added: GHSA-2h8j-5q45-j7q7
References
Patch 1
More postalsys vulnerabilities
- TI-2026-87774 Sender spoofing in postal-mime via address parser domain truncation CVSS 4.0HIGH 8.2
Sources
- CVE-2026-124016 · CVE Program
- CVE-2026-124016 · NVD
- FIRST EPSS
- GHSA-2h8j-5q45-j7q7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences