The unstructured library provides open-source components for ingesting and pre-processing images and text documents, such as PDFs, HTML, Word docs, and many more. Prior to version 0.18.18, a path traversal vulnerability in the partition_msg function allows an attacker to write or overwrite arbitrary files on the filesystem when processing malicious MSG files with attachments. This issue has been patched in version 0.18.18.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22",
"CWE-73"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64712.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.18.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "b01d35b2373fd087d2e15162b9c021663c97155d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"cpe": "cpe:2.3:a:unstructured:unstructured:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.18.18"
}
],
"source": "CPE_RANGE"
}
]
}