{"cve":"CVE-2026-54071","nvd":{"published":"2026-08-21T19:17:02.720","modified":"2026-10-14T19:10:00.297","status":"Deferred","description":"BabelDOC is a document translation tool. Prior to 0.6.3, BabelDOC's vendored PDF parser in babeldoc/pdfminer/cmapdb.py deserializes untrusted pickle data when CMapDB._load_data() loads CMap files. PDF-controlled Encoding or CMapName values and embedded PostScript usecmap operators can reach this sink after path separators are decoded, while _normalize_cmap_name() removes only a leading slash. Absolute paths or traversal sequences can escape the trusted CMap directories through os.path.join(), select an attacker-writable .pickle.gz file, and cause pickle.loads() to execute arbitrary Python code with the privileges of the BabelDOC process. This issue is fixed in version 0.6.3.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-502"],"references":["https://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.6.3.md","https://github.com/funstory-ai/BabelDOC/commit/28f784ca6b437dbba040bfd9c67110373cd0924b","https://github.com/funstory-ai/BabelDOC/releases/tag/v0.6.3","https://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-m8gf-v64p-gfmg"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-54071","score":0.0038,"percentile":0.31682,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-m8gf-v64p-gfmg","url":"https://osv.dev/vulnerability/GHSA-m8gf-v64p-gfmg","summary":"BabelDOC: Arbitrary Code Execution via CMap Pickle Deserialization in babeldoc/pdfminer/cmapdb.py","modified":"2026-07-13T16:43:06.036095811Z","packages":[{"ecosystem":"PyPI","name":"babeldoc","purl":"pkg:pypi/babeldoc","ranges":["<0.6.3"],"fixed":["0.6.3"]}]},{"id":"PYSEC-2026-2389","url":"https://osv.dev/vulnerability/PYSEC-2026-2389","summary":"BabelDOC: Arbitrary Code Execution via CMap Pickle Deserialization in babeldoc/pdfminer/cmapdb.py","modified":"2026-07-13T16:31:34.882898456Z","packages":[{"ecosystem":"PyPI","name":"babeldoc","purl":"pkg:pypi/babeldoc","ranges":["<0.6.3"],"fixed":["0.6.3"]}]}],"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."]}