CVE-2026-116271: 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

Published Oct 28, 2026
·
Updated

[Unknown description]

Other sources

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

— Microsoft

Affected Software

15 affected componentsFixes available
Perl MIME::Parser::FileUnder<5.521
debian/libmime-tools-perl<=5.510-1, <=5.515-1
5.522-1
debian/libmime-tools-perl*
debian/libmime-tools-perl*
debian/libmime-tools-perl<5.522-1
5.522-1
ubuntu/libmime-tools-perl*
ubuntu/libmime-tools-perl*
ubuntu/libmime-tools-perl*
ubuntu/libmime-tools-perl*
ubuntu/libmime-tools-perl*
ubuntu/libmime-tools-perl*
ubuntu/libmime-tools-perl*
ubuntu/libmime-tools-perl*
All of the following
azurelinux/perl-mime-tools<0:5.522-8.azl4
0:5.522-8.azl4
Microsoft Azure Linux=4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libmime-tools-perl to a version that resolves this vulnerability.

    Fixed in 5.522-1
  2. Upgrade

    Upgrade azurelinux/perl-MIME-tools to a version that resolves this vulnerability.

    Fixed in 0:5.522-8.azl4
  3. Upgrade

    Upgrade MIME-tools to a version that resolves this vulnerability.

    Fixed in 5.521

Event History

Oct 28, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·05:34 PM
Data Sourced
via MITRE·05:34 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·06:17 PM
DescriptionWeakness
Nov 3, 2026
Updated
via OSV·04:00 AM
Affected Software
Nov 5, 2026
Updated
via OSV·11:46 AM
Description
Data Sourced
via NVD·09:18 PM
Severity
Event
via NVD·09:18 PM
Nov 7, 2026
Updated
via OSV·01:45 AM
Severity
Nov 17, 2026
Data Sourced
via Microsoft·06:41 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Parsing processes are exposed when their output base directory is writable by other local users, such as when output_under("/tmp") is used. A local user can pre-create a predicted message directory and place a symlink matching an attachment filename inside it.

2

What does an attacker need to exploit it?

The attacker needs local access and the ability to write to the parser's output base. They must create the expected msg-<time>-<pid>-<n> directory and a dangling symlink for an attachment name before the parser writes the message.

3

What is the impact of successful exploitation?

The parser can write an attachment to the symlink target using the privileges of the parsing process. This allows the local attacker to redirect attachment output to a chosen writable target path.

4

What can be done if upgrading is not immediately possible?

Use an output base that is not writable by other users, rather than a shared location such as /tmp. Prevent untrusted local users from creating message directories or files within the parser's output base.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203