All vulnerabilities

npm

CVE-2026-124016

postal-mime < 4.2.1 Algorithmic Complexity DoS via processLine

Severity
Medium 6.9
Published
10 Nov 2026
Last changed
13 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.2.1
Exploit chance
0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · No login needed · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
postal-mimenpm · osv:npm:postal-mime
  • Every version before 4.2.1

About postal-mime

Weekly downloads (npm)
20,575,176npm, 24 Nov 2026

Vulnerabilities in postal-mime

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for postal-mime

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-124016