Home / zbateson / mail-mime-parser / CVE-2026-61816
CVE-2026-61816: is it exploited, and which versions of zbateson mail-mime-parser are affected and fixed?
CVE-2026-61816 is a denial of service (uncontrolled resource consumption) 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, 13:38 UTC). Affected: zbateson/mail-mime-parser from 2.0.0 before 3.0.6 and zbateson/mail-mime-parser from 4.0.0 before 4.0.2 (GitHub advisory GHSA-f6v3-2qmr-vfjx). Fixed in 3.0.6 and 4.0.2 (GitHub advisory GHSA-f6v3-2qmr-vfjx). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-61816?
zbateson/mail-mime-parser has uncontrolled resource consumption (CPU/memory DoS) parsing untrusted MIME
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. Starting in version 2.0.0 and prior to version 3.0.6 and 4.0.2, an uncontrolled resource consumption / algorithmic complexity vulnerability (CWE-400) affects any application that parses untrusted email with this library. Three independent parsing paths are super-linear in cost, so a byte-size cap on the caller side does **not** bound the work done. A crafted message under 2 MB can consume seconds of CPU or hundreds of megabytes to multiple gigabytes of memory (leading to an out-of-memory kill), enabling denial of service. The parse is lazy, but the cost is paid on the first `getAllParts()` or content read. This is fxed in 4.0.2 and 3.0.6. The fixes add configurable limits on multipart nesting depth and on header count / total header size (recording a parse error past the threshold rather than throwing), and change sibling append to O(n). Users should upgrade to one of these (or later) versions. Versions 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. (Versions prior to 2.0 used a different parser and are not affected by all three paths.) These costs are super-linear, so an input byte-size cap alone does not bound them. Until upgrading, restrict exposure of the parser to untrusted input, and run parsing under a constrained memory_limit and execution time limit so a malicious message fails its own request rather than exhausting the host.
From the CVE record by GitHub_M, last updated September 24, 2026, 18:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| zbateson | mail-mime-parser | >= 2.0.0, < 3.0.6 >= 4.0.0, < 4.0.2 |
As the CVE record by GitHub_M states it, last updated September 24, 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 | >= 2.0.0, < 3.0.6 | 3.0.6 | GHSA-f6v3-2qmr-vfjx |
| Packagist | zbateson/mail-mime-parser | >= 4.0.0, < 4.0.2 | 4.0.2 | GHSA-f6v3-2qmr-vfjx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 24, 2026. Summary: zbateson/mail-mime-parser has uncontrolled resource consumption (CPU/memory DoS) parsing untrusted MIME.
How severe is CVE-2026-61816?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | 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-61816 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, September 24, 2026)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/zbateson/mail-mime-parser/security/advisories/GHSA-f6v3-2qmr-vfjx x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- July 10, 2026
- Published
- September 24, 2026, 17:55 UTC
- CVE record updated
- September 24, 2026, 18:11 UTC by GitHub_M
- NVD
- Deferred, last modified September 30, 2026, 17:32 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 13: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-61815 zbateson mail-mime-parser: improper Neutralization of CRLF Sequences
Questions about CVE-2026-61816
Is CVE-2026-61816 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.39% 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-61816?
zbateson/mail-mime-parser from 2.0.0 before 3.0.6 and zbateson/mail-mime-parser from 4.0.0 before 4.0.2, per the GitHub advisory GHSA-f6v3-2qmr-vfjx. The tables above give every range the sources list.
Which version fixes CVE-2026-61816?
3.0.6 and 4.0.2, per the GitHub advisory GHSA-f6v3-2qmr-vfjx. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-61816?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-61816?
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.