Technical impact
The vulnerability allows a local user with write permission to a MIME::Parser::FileUnder output directory to redirect attachment writes through a pre‑created symlink. This causes the parser to create or overwrite arbitrary files on the system. If the parsing process runs with elevated privileges, the attacker can compromise system integrity by overwriting configuration or executable files. The weakness is a classic directory traversal and symlink exploitation (CWE‑59).
Affected Systems
MIME-tools for Perl is impacted, specifically MIME::Parser::FileUnder in all releases prior to 5.521. Any Perl application or script that uses this module for processing messages and writes attachments to a directory writable by non‑privileged users is susceptible. Version 5.521 and later remove the vulnerable behaviour by not reusing pre‑created directories and rejecting symlink targets.
Risk and Exploitability
The CVSS score is 7.0 and the EPSS score is < 1%. The vulnerability is exploitable only by local users who can write into the chosen output directory; there is no known remote exploitation vector or documented attack. It is not included in the CISA KEV catalog, but the potential for privilege escalation exists if the parser is run with higher permissions. Rapid patching or remediation of directory permissions mitigates the risk.