Intel

AIKIDO-2026-574513

zbateson/mail-mime-parser is vulnerable to Improper Neutralization of CRLF Sequences

GHSA-7qwj-755g-wx9vPublished 4 days ago
November 16, 2026

54

CVE Score

Medium

Improper Neutralization of CRLF Sequences

Are you affected? Scan for Free

TL;DR

When a parsed message is already multipart/signed, its protocol parameter is copied into the signature part's generated Content-Type header. A bare CR in the parsed parameter can inject an additional header into that output. The issue requires an application to parse a message and then call the multipart-signing helper. The fix removes control characters from the protocol value before it reaches the generated header.

How do I fix this?

Upgrade the zbateson/mail-mime-parser library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and call the multipart-signing helper on a parsed multipart/signed message.

Versions

3.0.0 - 3.0.9

Fixed in 3.0.10

4.0.0 - 4.0.8

Fixed in 4.0.9

Background info

zbateson/mail-mime-parser is vulnerable to Improper Neutralization of CRLF Sequences in versions 3.0.0 - 3.0.9 and 4.0.0 - 4.0.8.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea