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.
Published: 2026-11-04
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Header injection via message building helpers
Action: Apply patch
AI Analysis

Impact

zbateson mail‑mime‑parser versions prior to 3.0.9 and 4.x before 4.0.6 contain a CRLF header injection flaw in the message‑building helpers. The library does not strip carriage‑return and line‑feed characters from MIME type, charset, encoding, micalg, or protocol values, enabling an attacker who can influence these parameters to inject additional header lines into outgoing messages. By forging header fields such as Bcc, an attacker could spoof recipients, redirect message flows, or facilitate spam and phishing campaigns. The weakness maps to CWE‑93.

Affected Systems

The vulnerability affects the zbateson mail‑mime‑parser package on all platforms where the affected PHP code runs. Versions earlier than 3.0.9 and all 4.x releases prior to 4.0.6 are impacted. No specific operating systems or platforms are singled out, so any environment using these versions is at risk.

Risk and Exploitability

The CVSS score is 6.9, indicating a medium severity risk. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. Exploitation requires the attacker to supply crafted MIME header values to the application that uses the library; therefore, the attack vector is primarily an application‑layer input path. Successful exploitation would allow header forging and potential email spoofing or phishing, but does not provide remote code execution or broader system compromise. Nonetheless, the implications for confidentiality and integrity of email communications warrant prompt attention.

Generated by OpenCVE AI on November 4, 2026 at 13:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to mail‑mime‑parser 3.0.9 or later, 4.0.6 or later, which contain the header‑validation fix.
  • If an upgrade is not possible, modify the application to strip or escape CR and LF characters from all MIME header values before handing them to the library.
  • Ensure that no other parts of the code can inject unsanitized header lines when constructing outbound emails.

Generated by OpenCVE AI on November 4, 2026 at 13:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 04 Nov 2026 14:00:00 +0000

Type Values Removed Values Added
First Time appeared Zbateson
Zbateson mail-mime-parser
Vendors & Products Zbateson
Zbateson mail-mime-parser

Wed, 04 Nov 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title zbateson mail-mime-parser before 3.0.9 and 4.x before 4.0.6 CRLF Header Injection via Message Builders
Weaknesses CWE-93
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

Zbateson Mail-mime-parser
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-04T12:31:23.166Z

Reserved: 2026-11-04T12:05:52.040Z

Link: CVE-2026-121946

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-04T13:17:29.477

Modified: 2026-11-04T13:17:29.477

Link: CVE-2026-121946

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-04T14:00:09Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')