CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.23% in 30 days
higher than 15% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
zbatesonmail-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?

EcosystemPackageAffectedFixed inAdvisory
Packagistzbateson/mail-mime-parser< 3.0.63.0.6GHSA-36h5-qg4p-q2qf
Packagistzbateson/mail-mime-parser>= 4.0.0, < 4.0.24.0.2GHSA-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?

ScoreVersionVectorSource
High 7.2CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NGitHub_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?

Where are the vendor advisories and references?

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?

Every CVE in mail-mime-parser

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.