CVE-2026-124016postal-mime < 4.2.1 Algorithmic Complexity DoS via processLine
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- postalsys postal-mime: affected: before 4.2.1; fixed in
4.2.1
Vendor advisories:
- https://github.com/postalsys/postal-mime/security/advisories/GHSA-q8wm-54mj-r36p (vendor-advisory)
- https://github.com/postalsys/postal-mime/releases/tag/v4.2.1 (patch, release-notes)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.