Bug 2563069 (CVE-2026-116271) - CVE-2026-116271 perl-mime-tools: perl-mime-tools: Arbitrary file overwrite via symbolic link following
Summary: CVE-2026-116271 perl-mime-tools: perl-mime-tools: Arbitrary file overwrite vi...
Keywords:
Status: NEW
Alias: CVE-2026-116271
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2563419
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-28 17:45 UTC by OSIDB Bzimport
Modified: 2026-10-29 15:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-28 17:45:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.