PT-2026-98220

CVE-2026-61816

·

تاريخ النشر

2026-09-24

·

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

2026-09-25

الوصف من

CVSS 3.1
7.5
عالية
المقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions zbateson/mail-mime-parser versions 2.0.0 through 3.0.5 zbateson/mail-mime-parser versions 4.0.0 through 4.0.1
Description An uncontrolled resource consumption and algorithmic complexity issue affects applications parsing untrusted emails. Three independent parsing paths exhibit super-linear costs, meaning a byte-size cap on input does not prevent resource exhaustion. A crafted message under 2 MB can cause significant CPU consumption or allocate hundreds of megabytes to several gigabytes of memory, leading to an out-of-memory kill and denial of service. The cost is incurred during the first call to getAllParts() or when reading content.
Technical details include:
  • Deep multipart nesting: The MimeParserService::findContentBoundary() function and ParserMimePartProxy::setEndBoundaryFound() function create a complexity of O(depth²).
  • Many sibling parts: The PartChildrenContainer::add() function reindexes the entire array on every call, resulting in O(n²) complexity.
  • Unbounded header buffering: The HeaderParserService::parse() function reads header lines without limits on count or total size, allowing a small message to consume gigabytes of memory.
Recommendations For versions 2.0.0 through 3.0.5, upgrade to version 3.0.6 or later. For versions 4.0.0 through 4.0.1, upgrade to version 4.0.2 or later. Restrict exposure of the parser to untrusted input. Run parsing under a constrained memory limit and execution time limit.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-F6V3-2QMR-VFJX
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾