Bug 2563419 - CVE-2026-116271 perl-MIME-tools: perl-mime-tools: Arbitrary file overwrite via symbolic link following [fedora-rawhide]
Summary: CVE-2026-116271 perl-MIME-tools: perl-mime-tools: Arbitrary file overwrite vi...
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-MIME-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["7e2fa0b2-faa2-493b-bdd0-0...
Depends On:
Blocks: CVE-2026-116271
TreeView+ depends on / blocked
 
Reported: 2026-10-29 15:17 UTC by Marian Rehak
Modified: 2026-10-30 08:35 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Marian Rehak 2026-10-29 15:17:32 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-10-30 08:33:05 UTC
FEDORA-2026-51fdfb7476 (perl-MIME-tools-5.522-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-51fdfb7476

Comment 2 Fedora Update System 2026-10-30 08:34:23 UTC
FEDORA-2026-0e79d6ad13 (perl-MIME-tools-5.522-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0e79d6ad13

Comment 3 Fedora Update System 2026-10-30 08:35:28 UTC
FEDORA-2026-a415b3bf48 (perl-MIME-tools-5.522-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a415b3bf48


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