CVE-2026-124016 Details
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.
An algorithmic complexity denial-of-service vulnerability has been identified in postal-mime versions prior to 4.2.1. This vulnerability allows unauthenticated remote attackers to cause excessive CPU consumption in the PostalMime.processLine() function. The issue arises when attackers craft deeply nested multipart email messages with boundary lines that share long prefixes with open boundaries. When such a message is processed, the parsing cost scales with the depth of nesting and the length of the shared prefix, leading to significant CPU exhaustion and blocking the Node.js event loop for several seconds per message.
Users are advised to upgrade to postal-mime version 4.2.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 10, 2026CISA-ADP
Assessed Nov 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/postalsys/postal-mime/security/advisories/GHSA-q8wm-54mj-r36p | CISA-ADP | AdvisoryExploitVendor |
| https://github.com/postalsys/postal-mime/releases/tag/v4.2.1 | [email protected] | Release NotesVendor |
| https://github.com/postalsys/postal-mime/security/advisories/GHSA-q8wm-54mj-r36p | [email protected] | AdvisoryExploitVendor |
| https://www.vulncheck.com/advisories/postal-mime-algorithmic-complexity-dos-via-processline | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| postalsys postal-mime | <= 4.2.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | CISA-ADP |
| Nov 10, 2026 | New CVE Received | [email protected] |
Volerion