Read the docs

Algorithmic complexity denial of service in postal-mime email parsing

Priority HIGH 70CWE-407Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00609 49th percentileScored 2026-11-16
Fix Fixed postal-mime (postalsys): 4.2.1

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

VendorProductAffected versionsFixed inStatusSource
postalsyspostal-mimebefore 4.2.14.2.1Patch availableCNA
  • postal-mime Vendorpostalsys Affected before 4.2.1 Fixed in 4.2.1 Patch available CNA

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

  1. 2026-11-10 Threatist record created from CVE-2026-124016
  2. 2026-11-10 CISA SSVC decision points changed
  3. 2026-11-10 Priority changed: MEDIUM → HIGH
  4. 2026-11-10 Alias added: GHSA-2h8j-5q45-j7q7

References

  • TI-2026-87774 Sender spoofing in postal-mime via address parser domain truncation CVSS 4.0HIGH 8.2

Sources