libmime-tools-perl: MIME::Parser::FileUnder versions before 5.521 for Perl reuse a pre-created output directory and follow symlinks in it...
CVE-2026-116271 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2026-116271, released November 3, 2026. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libmime-tools-perl · Debian 14 | 5.522-1 | DEBIAN-CVE-2026-116271 | Nov 3, 2026 |
| perl-MIME-tools · Fedora 43 | 5.522-1.fc43 | FEDORA-2026-A415B3BF48 | Nov 7, 2026 |
| perl-MIME-tools · opensuse-leap 16.0 | 5.522.0-bp160.1.1 | OPENSUSE-SU-2026:22226-1 | Nov 7, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.