CVE-2025-64712 Details
Description
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.
A path traversal vulnerability has been identified in the Unstructured library, specifically in versions through 0.18.17. The issue arises in the 'partition_msg' function, where the library processes MSG files with attachments. The vulnerability allows an attacker to craft a malicious MSG file with attachment filenames that include path traversal sequences. When these files are processed with the 'process_attachments' option enabled, the library writes the attachments to arbitrary locations on the filesystem, potentially overwriting important files or executing malicious code.
Users can update to version 0.18.18 or later, where this vulnerability has been patched. If an immediate update is not possible, the 'process_attachments' option can be set to 'False' when handling untrusted MSG files, or additional filename validation can be implemented before processing.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| unstructured unstructured | < 0.18.18 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2026 | Initial Analysis | [email protected] |
| Feb 4, 2026 | New CVE Received | [email protected] |