{"cve":"CVE-2025-64712","nvd":{"published":"2026-02-04T18:16:07.370","modified":"2026-06-17T09:55:05.323","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22","CWE-73"],"references":["https://github.com/Unstructured-IO/unstructured/commit/b01d35b2373fd087d2e15162b9c021663c97155d","https://github.com/Unstructured-IO/unstructured/security/advisories/GHSA-gm8q-m8mv-jj5m"],"products":["unstructured:unstructured"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2025-64712","score":0.00687,"percentile":0.52684,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gm8q-m8mv-jj5m","url":"https://osv.dev/vulnerability/GHSA-gm8q-m8mv-jj5m","summary":"Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write","modified":"2026-09-10T03:50:34.982019627Z","packages":[{"ecosystem":"PyPI","name":"unstructured","purl":"pkg:pypi/unstructured","ranges":["<0.18.18"],"fixed":["0.18.18"]}]},{"id":"PYSEC-2026-558","url":"https://osv.dev/vulnerability/PYSEC-2026-558","summary":"Unstructured has Path Traversal via Malicious MSG Attachment that Allows Arbitrary File Write","modified":"2026-07-13T16:15:34.752594062Z","packages":[{"ecosystem":"PyPI","name":"unstructured","purl":"pkg:pypi/unstructured","ranges":["<0.18.18"],"fixed":["0.18.18"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}