PT-2026-98219

CVE-2026-61815

·

تاريخ النشر

2026-09-24

·

تاريخ التحديث

2026-10-05

الوصف من

CVSS 3.1
7.2
عالية
المقاييسAV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions zbateson/mail-mime-parser versions prior to 3.0.6 zbateson/mail-mime-parser versions prior to 4.0.2
Description CRLF (carriage-return / line-feed) header injection occurs when the library is used 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 characters. This allows a filename containing r to create additional attacker-controlled header lines, such as a forged Bcc: header to silently exfiltrate copies of outgoing messages.
On the outbound side, the MultipartHelper::createAndAddPartForAttachment() function fails to strip CR and LF characters before they are written into the header via MimePart::setRawHeader(). On the decode side, ParameterPart::decodePartValue() and the MimeToken path can allow CR/LF characters to persist or be reintroduced into the value returned by getFilename(). Consequently, an application that re-attaches or re-sends a filename parsed from inbound mail is exposed.
Recommendations Update zbateson/mail-mime-parser to version 3.0.6 or later. Update zbateson/mail-mime-parser to version 4.0.2 or later. As a temporary workaround, strip CR and LF characters from any filename before passing it to attachment APIs and from the result of the getFilename() function before reusing it in a constructed message.
قابلية الاستغلال
استغلال
إصلاح
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-36H5-QG4P-Q2QF
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾