CVE-2026-61815
Last modified
CVE-2026-61815 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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.
Description
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).
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zbateson | mail-mime-parser | < 3.0.6; >= 4.0.0, < 4.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-61815?
How severe is CVE-2026-61815?
How do I fix CVE-2026-61815?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61802Wazuh is an open-source security platform providing unified …6.5
- CVE-2026-61807Snipe-IT is an IT asset/license management system. Prior to …6.3
- CVE-2026-61808LightRAG provides simple and fast retrieval-augmented genera…9.8
- CVE-2026-6181The Device Configuration Framework is vulnerable to an authe…5.9
- CVE-2026-61811Wazuh is an open-source security platform providing unified …6.5
- CVE-2026-61814Jawn is an open source JSON parser. Prior to 1.7.0, Jawn's A…7.5
- CVE-2026-61816zbateson/mail-mime-parser is a mail mime parser alternative …7.5
- CVE-2026-61817pg_partman is a PostgreSQL extension that manages partitione…8.5
- CVE-2026-61818pg_partman is a PostgreSQL extension that manages partitione…8.5
- CVE-2026-61819pg_partman is a PostgreSQL extension that manages partitione…8.5
- CVE-2026-6182A vulnerability was identified in code-projects Simple Conte…7.3
- CVE-2026-61820pg_partman is a PostgreSQL extension that manages partitione…8.5
Are you affected by CVE-2026-61815?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
