Vulnerability library
Security checkOctober 23, 2026

postal-mime: Quadratic CPU consumption when decoding a header of many joinable RFC 2047 base64 encoded words

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmpostal-mime

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Decoding a header that holds a long run of joinable RFC 2047 base64 encoded words, such as =?utf-8?B?QUJD?= repeated tens of thousands of times in a Subject, From, To, a filename or a description, took time quadratic in the number of words.

Recommendation

Update the postal-mime package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 3.0.0, < 4.0.8
  • Patched version(s): 4.0.8

References

Could your website be exposed too?

SmartScanner can check your website for postal-mime: Quadratic CPU consumption when decoding a header of many joinable RFC 2047 base64 encoded words and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 23, 2026