CVE-2026-116271

NameCVE-2026-116271
DescriptionMIME::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1152317

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libmime-tools-perl (PTS)bookworm5.510-1vulnerable
trixie5.515-1vulnerable
forky, sid5.522-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libmime-tools-perlsource(unstable)5.522-11152317

Notes

[trixie] - libmime-tools-perl <no-dsa> (Minor issue)
https://metacpan.org/release/DSKOLL/MIME-tools-5.522/changes
https://lists.security.metacpan.org/cve-announce/msg/44712322/

Search for package or bug name: Reporting problems