// Security Advisory Triage

postal-mime DoS via quadratic CPU in RFC 2047 header decoding

GitHub advisories — npm · published 2026-10-24 15:58 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGHSA-f2hq-32vh-53cc published 23 October 2026 documents a high-severity vulnerability in postal-mime: decoding headers with many joinable RFC 2047 base64 encoded words causes quadratic CPU consumption. First patched version is 4.0.8.
WHY IT MATTERSEmail parsing becomes a DoS vector. An attacker can craft headers that consume CPU quadratically with input size, degrading service or exhausting compute resources for any application that parses untrusted email through postal-mime.
WHAT TO DOCheck whether postal-mime is in your dependency tree and what version. If present and below 4.0.8, update to 4.0.8 or later this cycle.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-f2hq-32vh-53cc
+summary: postal-mime: Quadratic CPU consumption when decoding a header of many joinable RFC 2047 base64 encoded words
+severity: high
+published_at: 2026-10-23T21:54:36Z
+cve_id:
+vulnerabilities[].package.name: postal-mime
+vulnerabilities[].first_patched_version: 4.0.8
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.78, needed 0.5
triage reasoningEmail parsing library with DoS vulnerability affecting services that process untrusted email headers.
signalsnpm package advisory · high severity · DoS via quadratic CPU consumption · first patched version specified (4.0.8) · postal-mime is email parsing library in dependency trees
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)