CVE-2026-116271
published high CVSS 3.1 · 7.0MIME::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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | MIME-tools0 to < 5.521 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-4095 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3425 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | perl-mime-tools | Fixed | 5.522-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-16.0 | perl-MIME-toolsnoarch | Advisory build | 5.522.0-bp160.1.1 | OPENSUSE-SU-2026:22226-1 |
| Amazon Linux | AL2 | perl-MIME-toolsnoarch | Listed in advisory | Not stated | ALAS2-2026-4095 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-MIME-toolsaarch64 | Advisory build | 5.522.0-1.1 | OPENSUSE-SU-2026:12347-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-MIME-toolsppc64le | Advisory build | 5.522.0-1.1 | OPENSUSE-SU-2026:12347-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-MIME-toolss390x | Advisory build | 5.522.0-1.1 | OPENSUSE-SU-2026:12347-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-MIME-toolsx86_64 | Advisory build | 5.522.0-1.1 | OPENSUSE-SU-2026:12347-1 |
| Amazon Linux | AL2 | perl-MIME-toolssrc | Listed in advisory | Not stated | ALAS2-2026-4095 |
| Amazon Linux | AL2023 | perl-MIME-toolsnoarch | Listed in advisory | Not stated | ALAS2023-2026-3425 |
| Amazon Linux | AL2023 | perl-MIME-toolssrc | Listed in advisory | Not stated | ALAS2023-2026-3425 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MIME-tools | 0 to < 5.521 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
1Provider assertions
2CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4079c24d908a9865dcd4a773a5a2f5a42fb9f81ac046c47b06fb209374a0abf1
- Ingested
- 07 Nov 2026, 23:38:29 UTC
- Source record
- Official CVE record