Technical impact
The flaw in MIME::Words allows repeated "=?" sequences that are not part of a complete encoded word to trigger the decoder to append an error message containing the entire input string to the global exception variable $@. A large boundary of 8,000 such pairs, totaling 16,000 bytes, results in 8,000 copies of the input added to $@, consuming roughly 128 megabytes. This memory exhaustion attack can lead to denial of service, as the library does not guard against excessive duplication.
Affected Systems
All Perl installations using MIME::Words prior to version 5.521 are vulnerable. Beginning with MIME::Parser version 5.518, the same decoder is invoked for multipart boundaries, meaning any Perl application that parses MIME content—such as email servers, automated mail handlers, or custom mail processors—will be susceptible when it imports MIME-tools up to 5.520.
Risk and Exploitability
The attack can be performed remotely by an unauthenticated sender who crafts a MIME header containing many incomplete "=?" sequences. The EPSS score is < 1%, the CVSS score is 7.5, and the vulnerability is not listed in CISA KEV, but the single-header exploitation path and large memory impact indicate a high potential for denial of service. The risk remains significant until the libraries are updated or mitigated.