zbateson mail-mime-parser before 3.0.9 and 4.x before 4.0.6 CRLF Header Injection via Message Builders
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 4, 2026
- Updated
- Nov 4, 2026
- Reserved
- Nov 4, 2026
Description
zbateson mail-mime-parser before 3.0.9 and 4.x before 4.0.6 contains a CRLF header injection vulnerability in message-building helpers that fail to strip CR and LF characters. Attackers supplying crafted MIME type, charset, encoding, micalg, or protocol values can inject extra header lines such as a forged Bcc into outgoing messages.
| Product | Versions |
|---|---|
| mail-mime-parser zbateson | 0.3.0 to before 3.0.9 Affected4.0.0 to before 4.0.6 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 7.2 High | VulnCheck |
Weaknesses
- CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
References
- GitHub Security Advisory (GHSA-gmgm-r6fh-fq6g)Vendor Advisory
- https://github.com/zbateson/mail-mime-parser/commit/f385b2923023a9a7b69003468e363a4661f1c85aPatch
- https://github.com/zbateson/mail-mime-parser/commit/1fa840ef367958e991e6840b4e3ffd41aca9d147Patch
- https://github.com/zbateson/mail-mime-parser/commit/c31c62ccc3e66a7a7da0d79954ef83807f9daa20Patch
- https://github.com/zbateson/mail-mime-parser/commit/b032920875c6cb35bb2ddd7abfd7e98608d75bc0Patch
- https://github.com/zbateson/mail-mime-parser/blob/4.0.5/src/Message/Helper/MultipartHelper.php#L270-L273Technical Details
- VulnCheck Advisory: zbateson mail-mime-parser before 3.0.9 and 4.x before 4.0.6 CRLF Header Injection via Message BuildersThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.