{"id":"CVE-2026-124553","kind":"vulnerability","aliases":["CVE-2026-124553"],"related":[],"title":"BabelDOC: crafted PDF exhausts CPU and memory, stalling translation","description":"BabelDOC from 0.3.61 before 0.7.0 contains a resource exhaustion vulnerability that allows remote attackers to exhaust CPU and memory by supplying unbounded bfrange and cidrange spans. Attackers can submit a crafted PDF whose embedded ToUnicode CMap declares a huge range, driving billions of loop iterations and stalling the translation worker.","summary":"BabelDOC, a PDF translation library, mishandles huge bfrange and cidrange spans in embedded ToUnicode CMaps. A remote attacker who submits a crafted PDF can exhaust CPU and memory and stall the translation worker.","severity":"high","cvss":8.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","pdf","python","translation"],"not_affected_if":["trusted-input-only","versions-before-0.3.61-or-0.7.0-plus"],"how_to_check":"- Check the installed BabelDOC version with `pip show babeldoc` and compare it to the fixed range below.\n- Look for services that accept untrusted PDFs and pass them to BabelDOC for translation.","fix":"- BabelDOC `0.7.0` (affected range is `0.3.61` before `0.7.0`).","status":"open","published_at":"2026-11-08T15:16:51+00:00","first_seen_at":"2026-11-08T15:18:22+00:00","triaged_at":"2026-11-08T15:20:09+00:00","updated_at":"2026-11-08T15:20:09+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-08T15:20:09Z","model":"claude-haiku-5-5","output":{"fix":"- BabelDOC `0.7.0` (affected range is `0.3.61` before `0.7.0`).","reach":"internet","title":"BabelDOC: crafted PDF exhausts CPU and memory, stalling translation","impact":"medium","summary":"BabelDOC, a PDF translation library, mishandles huge bfrange and cidrange spans in embedded ToUnicode CMaps. A remote attacker who submits a crafted PDF can exhaust CPU and memory and stall the translation worker.","audience":"developers","category":"package","nicknames":[],"who_cares":["python","pdf","translation"],"confidence":0.7,"fix_status":"available","needs_auth":"no","worst_case":"Translation worker stalls and exhausts server CPU and memory.","analyst_note":"","how_to_check":"- Check the installed BabelDOC version with `pip show babeldoc` and compare it to the fixed range below.\n- Look for services that accept untrusted PDFs and pass them to BabelDOC for translation.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["trusted-input-only","versions-before-0.3.61-or-0.7.0-plus"],"who_is_affected":"Teams that run BabelDOC on PDFs supplied by outside users, such as a translation web service or upload pipeline, are exposed. Local use on trusted documents is lower risk. Teams that only use BabelDOC on their own files can skip it.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.00074,"input_tokens":4645,"output_tokens":551,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-124553':12A,15A '-2026':11A,14A '0.3.61':55C '0.7.0':57C 'allow':64C 'attack':37B,66C,79C 'babeldoc':1A,20B,53C 'bfrang':27B,75C 'billion':94C 'cidrang':29B,77C 'cmap':34B,88C 'contain':58C 'cpu':5A,45B,69C 'craft':2A,41B,83C 'cve':10A,13A 'declar':89C 'drive':93C 'embed':32B,86C 'exhaust':4A,44B,61C,68C 'huge':26B,91C 'iter':97C 'librari':24B 'loop':96C 'memori':7A,47B,71C 'mishandl':25B 'packag':16B 'pdf':3A,17B,22B,42B,84C 'python':18B 'rang':92C 'remot':36B,65C 'resourc':60C 'span':30B,78C 'stall':8A,49B,99C 'submit':39B,81C 'suppli':73C 'tounicod':33B,87C 'translat':9A,19B,23B,51B,101C 'unbound':74C 'vulner':62C 'whose':85C 'worker':52B,102C","nicknames":[],"mitigations":[],"who_affected":"Teams that run BabelDOC on PDFs supplied by outside users, such as a translation web service or upload pipeline, are exposed. Local use on trusted documents is lower risk. Teams that only use BabelDOC on their own files can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["high","package","pdf","python","translation"],"campaign_type":null,"search_a":"'-124553':12A,15A '-2026':11A,14A 'babeldoc':1A 'cpu':5A 'craft':2A 'cve':10A,13A 'exhaust':4A 'memori':7A 'pdf':3A 'stall':8A 'translat':9A","search_b":"'attack':37B 'babeldoc':20B 'bfrang':27B 'cidrang':29B 'cmap':34B 'cpu':45B 'craft':41B 'embed':32B 'exhaust':44B 'huge':26B 'librari':24B 'memori':47B 'mishandl':25B 'packag':16B 'pdf':17B,22B,42B 'python':18B 'remot':36B 'span':30B 'stall':49B 'submit':39B 'tounicod':33B 'translat':19B,23B,51B 'worker':52B","search_c":"'0.3.61':55C '0.7.0':57C 'allow':64C 'attack':66C,79C 'babeldoc':53C 'bfrang':75C 'billion':94C 'cidrang':77C 'cmap':88C 'contain':58C 'cpu':69C 'craft':83C 'declar':89C 'drive':93C 'embed':86C 'exhaust':61C,68C 'huge':91C 'iter':97C 'loop':96C 'memori':71C 'pdf':84C 'rang':92C 'remot':65C 'resourc':60C 'span':78C 'stall':99C 'submit':81C 'suppli':73C 'tounicod':87C 'translat':101C 'unbound':74C 'vulner':62C 'whose':85C 'worker':102C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-07T21:44:23+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-124553","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124553","severity":null,"published_at":"2026-11-08T15:16:51+00:00","modified_at":"2026-11-08T15:16:51+00:00","first_seen_at":"2026-11-08T15:18:22+00:00","fetched_at":"2026-11-08T15:18:22+00:00","note":null}],"documents":[{"id":102233,"url":"https://github.com/funstory-ai/BabelDOC/commit/39a6e9eafeecd39404b94b2f71e88ea058753dd5","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":102234,"url":"https://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-wrv8-h9rp-6fqq","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-07T21:44:23+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":102235,"url":"https://www.vulncheck.com/advisories/babeldoc-from-0.3.61-before-0.7.0-denial-of-service-via-tounicode-cmap-parsing","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}