UBUNTU-CVE-2026-116271 (CVE-2026-116271)
Vulnerability from osv_ubuntu – Published: 2026-10-28 18:17 – Updated: 2026-11-06 23:21 – Source websiteMIME::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--- 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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.505-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.505-1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.503-1",
"5.504-1",
"5.505-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.507-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.507-1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.505-1",
"5.507-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.509-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.509-1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.508-1",
"5.509-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.509-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.509-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.509-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.509-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.509-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.509-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.514-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.514-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.510-3",
"5.512-1",
"5.513-1",
"5.514-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.517-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.10",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.517-1?arch=source\u0026distro=stonking"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.517-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmime-tools-perl",
"binary_version": "5.517-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "libmime-tools-perl",
"purl": "pkg:deb/ubuntu/libmime-tools-perl@5.517-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.515-1",
"5.517-1"
]
}
],
"aliases": [],
"details": "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-\u003ctime\u003e-\u003cpid\u003e-\u003cn\u003e 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.",
"id": "UBUNTU-CVE-2026-116271",
"modified": "2026-11-06T23:21:32Z",
"published": "2026-10-28T18:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-116271"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-116271"
},
{
"type": "REPORT",
"url": "https://metacpan.org/release/DSKOLL/MIME-tools-5.522/changes"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-116271"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.