CVE-2026-116271

High

Description

MIME::Parser::FileUnder versions before 5.521 for Perl reuse a pre-created output directory and follow symlinks in it, letting local users redirect attachment writes. Each message is written to a directory named msg-<time>-<pid>-<n> under the output base, and an existing directory of that name is used as is. A file name counts as unused when nothing exists at that path, which holds for a dangling symlink, and the body file is then opened in a way that follows the link. When the output base is writable by other users, as with output_under("/tmp"), a local user can pre-create the directory with a symlink named like an attachment. The parser then writes the attachment to the link target with the privileges of the parsing process.

SeverityHigh
CVSS7.0
Exploit probability3. percentile0.1%
ProductMime-tools
PublishedOct 28, 2026
First seenNov 4, 2026

How to fix

Update
  • MIME-tools5.521 or later

Affected products

ProductAffected versionsFixed in
MIME-toolsv < 5.5215.521

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.