CVEfocus › CVE database › CVE-2026-116271

CVE-2026-116271MIME::Parser::FileUnder versions before 5.521 for Perl reuse a pre-created output…

CVSS 7.0 HighEPSS 0.1% (higher than 2% of CVEs)Published 2026-10-28Updated 2026-11-05Assigner: CPANSec

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.

CWE-59

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
7Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libmime-tools-perlFix pendingUBUNTU-CVE-2026-116271
Ubuntu 26.04libmime-tools-perlUnder investigationUBUNTU-CVE-2026-116271
Ubuntu 24.04libmime-tools-perlUnder investigationUBUNTU-CVE-2026-116271
Ubuntu 22.04libmime-tools-perlUnder investigationUBUNTU-CVE-2026-116271
Ubuntu 20.04libmime-tools-perlFix pendingUBUNTU-CVE-2026-116271
Ubuntu 18.04libmime-tools-perlFix pendingUBUNTU-CVE-2026-116271
Ubuntu 16.04libmime-tools-perlFix pendingUBUNTU-CVE-2026-116271
Ubuntu 14.04libmime-tools-perlFix pendingUBUNTU-CVE-2026-116271
Debian 14libmime-tools-perlFixed5.522-1DEBIAN-CVE-2026-116271
Debian 13libmime-tools-perlFix pendingDEBIAN-CVE-2026-116271
Debian 12libmime-tools-perlFix pendingDEBIAN-CVE-2026-116271
Red Hat Enterprise Linux 6perl-MIME-toolsWill not fix
Out of support scope

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to MIME-tools 5.521 or later.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.