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
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
9 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libmime-tools-perl(Debian 12) | = 5.510-1; = 5.510-2; = 5.510-3; = 5.512-1 +9 more | No fix listed | No fix yet |
| debian/libmime-tools-perl(Debian 13) | = 5.515-1; = 5.517-1; = 5.518-1; = 5.519-1 +3 more | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libmime-tools-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux perl-MIME-tools(Azure Linux 4.0) | < 0:5.522-8.azl4 | 0:5.522-8.azl4 | Fixed |
| cpan MIME-tools | < 5.521 | 5.521 | Fixed |
| debian/libmime-tools-perl(Debian 14) | < 5.522-1; = 5.515-1; = 5.517-1; = 5.518-1 +2 more | 5.522-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/perl-MIME-tools(Red Hat:rhel_els:6) | All versions | No fix listed |
| cpan MIME-tools | < 5.521 | 5.521 |
| debian/libmime-tools-perl(Debian:12) | All versions | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.510-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.510-2 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.510-3 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.512-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.513-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.514-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.515-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.517-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.518-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.519-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.520-1 | No fix listed |
| debian/libmime-tools-perl(Debian:12) | = 5.522-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | All versions | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.515-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.517-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.518-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.519-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.520-1 | No fix listed |
| debian/libmime-tools-perl(Debian:13) | = 5.522-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | < 5.522-1 | 5.522-1 |
| debian/libmime-tools-perl(Debian:14) | = 5.515-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | = 5.517-1 | No fix listed |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libmime-tools-perl(Debian:14) | = 5.518-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | = 5.519-1 | No fix listed |
| debian/libmime-tools-perl(Debian:14) | = 5.520-1 | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libmime-tools-perl(Ubuntu:26.10) | All versions | No fix listed |
| azure linux perl-MIME-tools(Azure Linux:4.0) | < 0:5.522-8.azl4 | 0:5.522-8.azl4 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2563069 issue-tracking
- www.cve.org
- nvd.nist.gov
- metacpan.org release-notes
- Debian Security Tracker CVE-2026-116271 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-112304 third-party-advisory