Home / zbateson / mail-mime-parser / CVE-2026-61815
CVE-2026-61815: is it exploited, and which versions of zbateson mail-mime-parser are affected and fixed?
CVE-2026-61815 is an improper Neutralization of CRLF Sequences vulnerability in zbateson mail-mime-parser. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: zbateson/mail-mime-parser before 3.0.6 and zbateson/mail-mime-parser from 4.0.0 before 4.0.2 (GitHub advisory GHSA-36h5-qg4p-q2qf). Fixed in 3.0.6 and 4.0.2 (GitHub advisory GHSA-36h5-qg4p-q2qf). Severity: High (7.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-61815?
zbateson/mail-mime-parser has CRLF header injection via attachment filename
zbateson/mail-mime-parser is a mail mime parser alternative to PHP's imap* functions and Pear libraries for reading messages in Internet Message Format RFC 822. Prior to version 3.0.6 and 4.0.2, CRLF (carriage-return / line-feed) header injection (CWE-93) affecting any application that uses this library to build or forward MIME messages with an attacker-influenced attachment filename. Attachment filenames are interpolated into the `Content-Type` and `Content-Disposition` header values without stripping CR/LF, so a filename containing `\r\n` serializes as one or more additional, attacker-controlled header lines (for example a forged `Bcc:` that silently exfiltrates a copy of the outgoing message). The untrusted filename can come directly from parsed inbound mail, so no local construction is required — an application that re-attaches or re-sends a parsed filename is exposed. Versions 3.0.6 and 4.0.2 patch the issue. Versions 1.x and 2.x are also affected but are end-of-life and will not receive patches; users on those lines should upgrade to a fixed release. If upgrading is not immediately possible, strip CR and LF from any filename before passing it to attachment APIs, and from the result of getFilename() before reusing it in a constructed message — e.g. preg_replace('/[\r\n]+/', ' ', $filename).
From the CVE record by GitHub_M, last updated October 5, 2026, 15:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zbateson | mail-mime-parser | < 3.0.6 >= 4.0.0, < 4.0.2 |
As the CVE record by GitHub_M states it, last updated October 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | zbateson/mail-mime-parser | < 3.0.6 | 3.0.6 | GHSA-36h5-qg4p-q2qf |
| Packagist | zbateson/mail-mime-parser | >= 4.0.0, < 4.0.2 | 4.0.2 | GHSA-36h5-qg4p-q2qf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 24, 2026. Summary: zbateson/mail-mime-parser has CRLF header injection via attachment filename.
How severe is CVE-2026-61815?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-61815 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 5, 2026)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 15.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-93 Improper Neutralization of CRLF Sequences
Where are the vendor advisories and references?
- https://github.com/zbateson/mail-mime-parser/security/advisories/GHSA-36h5-qg4p-q2qf x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 10, 2026
- Published
- September 24, 2026, 17:53 UTC
- CVE record updated
- October 5, 2026, 15:32 UTC by GitHub_M
- NVD
- Deferred, last modified October 5, 2026, 16:17 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect mail-mime-parser?
- Nov 4, 2026CVE-2026-121946 zbateson mail-mime-parser: improper Neutralization of CRLF Sequences
- Sep 24, 2026CVE-2026-61816 zbateson mail-mime-parser: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-61815
Is CVE-2026-61815 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of zbateson mail-mime-parser are affected by CVE-2026-61815?
zbateson/mail-mime-parser before 3.0.6 and zbateson/mail-mime-parser from 4.0.0 before 4.0.2, per the GitHub advisory GHSA-36h5-qg4p-q2qf. The tables above give every range the sources list.
Which version fixes CVE-2026-61815?
3.0.6 and 4.0.2, per the GitHub advisory GHSA-36h5-qg4p-q2qf. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-61815?
High (7.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-61815?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.