All reports
High

perl-mime-tools: perl-mime-tools: Denial of Service via memory exhaustion from excessive message parts

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-116273

Probability of exploitation in the next 30 days: 0.29%

FIRST EPSS · 2026-11-23

Description

MIME::Parser versions before 5.521 for Perl set no limit on the number of message parts by default, allowing memory exhaustion. The max_parts option defaulted to -1, which disables the limit, so a parser created with default settings builds an entity for every part however many a message has. Version 5.521 sets max_parts to 1000 and max_depth to 64 by default. Setting either to -1 still removes the limit.

A flaw was found in perl-mime-tools. The parser does not enforce a default limit on the number of parts processed in a MIME (Multipurpose Internet Mail Extensions) message. A remote attacker could exploit this vulnerability by submitting a crafted message containing an excessive number of parts, leading to memory exhaustion and a Denial of Service (DoS).