Skip to main content
VulnerabilityPublished Updated

CVE-2026-61815: zbateson mail-mime-parser · CRLF Injection

Affects zbateson mail-mime-parserSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.2 High : upgrade to 4.0.2 or 3.0.6 soon.

Data as of 7 Nov 2026, 23:24 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.2, 3.0.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 8 Nov 2026.

What to do

Upgrade mail-mime-parser and zbateson/mail-mime-parser to 4.0.2 or 3.0.6.

Affected software

ProductAffectedFixed in
zbatesonmail-mime-parserAffected
  • >=4.0.0 <4.0.2
Fixed in
  • 4.0.2
zbatesonmail-mime-parserAffected
  • <3.0.6
Fixed in
  • 3.0.6
Packagistzbateson/mail-mime-parserpkg:composer/zbateson/mail-mime-parserOther threatsAffected
  • <3.0.6
  • >=4.0.0 <4.0.2
Fixed in
  • 3.0.6
  • 4.0.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in zbateson mail-mime-parser versions 3.0.6 and 4.0.2. Users should upgrade to these versions to remediate the vulnerability. For users unable to upgrade immediately, it is recommended to sanitize attachment filenames by stripping carriage-return and line-feed characters before passing them to attachment APIs or reusing them in constructed messages, for example using preg_replace('/[\r\n]+/', ' ', $filename).

Description

CVE-2026-61815 is a CRLF injection vulnerability in the zbateson mail-mime-parser library affecting versions prior to 3.0.6 and between 4.0.0 and before 4.0.2. The flaw allows attacker-controlled attachment filenames containing carriage-return and line-feed characters to inject additional MIME headers, potentially enabling header injection attacks such as forged Bcc headers. This impacts applications that parse and re-send MIME messages using this library without sanitizing attachment filenames. Versions 3.0.6 and 4.0.2 include patches for this issue. Users of older 1.x and 2.x versions are advised to upgrade or sanitize filenames to mitigate risk.

References

Community reviews

Loading reviews…