Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-124016 EUVD-2026-122665GHSA-2h8j-5q45-j7q7

postal-mime < 4.2.1 Algorithmic Complexity DoS via processLine

Published Nov 10, 2026 · Updated Nov 10, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
postalsys postal-mime < 4.2.1 4.2.1

References