Skip to main content

mail-mime-parser EUVDEUVD-2026-86335

| CVE-2026-61815 HIGH
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-09-24 GitHub_M GHSA-36h5-qg4p-q2qf
7.2
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI
5.4 MEDIUM

Attacker only sends mail (PR:N/UI:N/AV:N), but success depends on a downstream app re-serializing the untrusted filename, so AC:H; injected headers affect a separate mail-delivery context (S:C) leaking/altering one message (C:L/I:L, A:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
POC Analysis Generated
Sep 24, 2026 - 19:21 vuln.today
Patch available
Sep 24, 2026 - 19:04 EUVD
Analysis Generated
Sep 24, 2026 - 18:17 vuln.today
CVE Published
Sep 24, 2026 - 17:53 cve.org
HIGH 7.2

DescriptionCVE.org

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).

AnalysisAI

CRLF header injection in zbateson/mail-mime-parser before 3.0.6 and 4.0.2 allows an attacker-influenced attachment filename - including one harvested directly from parsed inbound mail - to be interpolated unescaped into Content-Type and Content-Disposition, so a filename containing \r\n serializes into one or more additional attacker-controlled header lines, for example a forged Bcc: that silently exfiltrates a copy of the outgoing message. Exploitation is limited to PHP applications that use the library to build or forward MIME messages with untrusted filenames (reusing getFilename() output or passing an attacker-supplied name into the attachment APIs); parse-only applications that never re-serialize the filename are not exposed. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
technique details hidden
Delivery
technique details hidden
Exploit
technique details hidden
Execution
technique details hidden
Impact
technique details hidden

Vulnerability AssessmentAI

Exploitation Exploitation requires that the consuming PHP application uses zbateson/mail-mime-parser to BUILD or FORWARD a MIME message using an attacker-influenced attachment filename - specifically, reusing a parsed getFilename() value (e.g. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment CVSS 3.1 rates this 7.2 (HIGH) with vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - network-reachable, low-complexity, no authentication or user interaction, with a scope change. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario Full exploit scenario with step-by-step reproduction available after sign-in.
Remediation Upgrade to a fixed release: 3.0.6 or later on the 3.x line, or 4.0.2 or later on the 4.x line; users on the end-of-life 1.x or 2.x lines must migrate to a supported release line because no patch will be issued for those branches. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, inventory every application and service for the zbateson/mail-mime-parser dependency by reviewing composer.lock files, SBOMs, and container images, and flag any component that constructs or forwards MIME messages using untrusted filenames (for example, reusing getFilename() output or passing an attacker-supplied name into the attachment APIs) - treat parse-only consumers as lower priority; in parallel, apply an application-layer interim control that strips CR and LF characters and enforces an allowlist on attachment filenames before they reach the library, and review outbound mail logs and mail-gateway headers for unexpected Bcc or injected header lines. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

EUVD-2026-86335 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy