همهٔ گزارش‌ها
متوسط

perl-MIME-tools: perl-MIME-tools: Denial of Service via unclosed comments in header parameters

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-116268

احتمال بهره‌برداری در ۳۰ روز آینده: 0.29%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

MIME::Field::ParamVal versions before 5.521 for Perl allow CPU exhaustion via unclosed comments in header parameters. The comment pattern used to parse Content-Type and Content-Disposition parameters scans from each "(" to the next ")". In a field with no ")", every "(" scans to the end of the header and fails, so parsing takes time quadratic in the header length. The field is parsed again on each attribute lookup, several times per MIME entity. A 40 KB header takes about 7 seconds to parse once.

A flaw was found in perl-MIME-tools. A remote attacker can cause a Denial of Service (DoS) by supplying specially crafted Multipurpose Internet Mail Extensions (MIME) headers containing unclosed comments. Due to inefficient parsing of parameters lacking closing parentheses, the parser repeatedly scans the remainder of the header, leading to excessive CPU consumption and application unresponsiveness.