Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted PDF to translation worker
-
ExploitEmbedded ToUnicode CMap declares huge bfrange/cidrange
-
ExecutionParser materializes billions of mapping entries
-
ImpactCPU/memory exhausted, worker stalls or OOM-killed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a deployment feed an attacker-controlled PDF into BabelDOC's translation pipeline (versions 0.3.61 through 0.6.4); the malicious PDF must carry an embedded /ToUnicode CMap stream whose bfrange or cidrange declares an oversized span, because the legacy pdfminer CMapParser and the newer Python ToUnicode runtime insert one entry per value with only operand byte-length equality checked (no span cap). No authentication, user interaction, or special product configuration is needed (PR:N/UI:N) - the limiting factor is purely whether untrusted PDFs reach the parser. Risk is eliminated by upgrading to 0.7.0, where Rust interval-based parsing with a default-on limit replaces the vulnerable Python parsers; the maintainer notes subprocess/container isolation with hard memory, CPU, and timeout limits reduces exploit preconditions but is not equivalent to the fix, and no backports are provided for older release lines. |
| Impact | All signals agree this is a genuine but availability-only (DoS) issue, not a confidentiality/integrity compromise. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, low-complexity trigger needing no authentication and no user interaction, and impact is confined to VA:H with VC:N/VI:N - the 8.7 score is driven entirely by the ease of exhausting resources, not by data exposure. The vendor/reporter priority (vuln.today 'this_week', not act_now/emergency) and the absence of CISA KEV indicate no confirmed active exploitation, so urgency is elevated-but-not-emergency. EPSS is not provided in the input, so probabilistic exploitation likelihood cannot be stated. The practical risk hinges on one deployment fact the raw score cannot capture: exploitation requires the BabelDOC translation worker to actually ingest attacker-supplied PDFs; where it does, the parser-level reproduction in the GHSA (a ~40-byte range yielding ~4.3e9 iterations, measured OOM-kill under a 1 GB limit on 0.6.4) shows the DoS is cheap and reliable. Where only trusted PDFs are processed, real-world risk drops sharply despite the high CVSS. |
| Exploit ScenarioDerived | An attacker submits a crafted PDF to a service or workflow that uses BabelDOC to translate documents. The PDF embeds a ToUnicode CMap whose bfrange/cidrange declares an enormous span (e.g. <00000000>-<FFFFFFFF>), forcing the parser to materialize billions of per-code entries and driving CPU to a stall or an out-of-memory kill of the translation worker. A parser-level reproduction with timing and OOM evidence against version 0.6.4 is documented in the GHSA advisory, though it is not verified as a packaged working exploit run through the full translation pipeline. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Resource exhaustion in BabelDOC lets a crafted PDF stall or kill the translation worker that parses it: an embedded /ToUnicode CMap stream declaring an oversized bfrange or cidrange span drives per-value loop iterations running into the billions, consuming CPU and memory until the worker stalls or is OOM-killed in versions 0.3.61 through 0.6.4. Impact is availability-only - the CVSS 4.0 base of 8.7 carries VC:N/VI:N/VA:H, and both the published vector and the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) confirm no privileges or user interaction are required, so the only precondition is that untrusted PDFs reach the translation pipeline. Version 0.7.0 replaces both vulnerable Python parsers with a Rust implementation that enforces a default-on mapping limit; no public exploit code was identified at time of analysis.
RemediationAI
Upgrade to BabelDOC 0.7.0, which is the vendor-released fix: the Rust ToUnicode parser added there represents range mappings as intervals, enforces a default-on limit on retained mapping data, and raises ParserResourceLimitError on oversized mappings instead of expanding them, and the same release applies default-on limits to other parser amplification points. The relevant changes are in commit 39a6e9eafeecd39404b94b2f71e88ea058753dd5 and documented in the release notes at https://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.7.0.md, with the advisory at https://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-wrv8-h9rp-6fqq. Note that the maintainer publishes security fixes only in the latest release and does not provide backports for older minor, patch, or release lines, so pinning to a 0.6.x branch is not a supported remediation. If upgrading immediately is not possible, the maintainer's stated risk reduction is to isolate parsing in a subprocess or container with hard memory and CPU limits plus a timeout - this blocks the OOM/CPU-stall outcome by killing the constrained worker, but the maintainer explicitly states it reduces known exploit preconditions without being equivalent to the fix, and the same guidance recommends external timeouts and memory limits whenever untrusted PDFs are processed. Because exploitation needs no authentication or user interaction, any deployment that accepts PDFs from untrusted sources should be treated as exposed until it runs 0.7.0.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PDF font dictionaries can carry a /ToUnicode CMap stream that maps character codes to Unicode values, and BabelDOC parses those streams with two separate Python implementations: the legacy pdfminer CMapParser (babeldoc/pdfminer/cmapdb.py, bfrange around line 435 and cidrange around line 385, reached from pdffont.py when constructing fonts from embedded streams) and the newer runtime at babeldoc/format/pdf/new_parser/runtime/to_unicode_parser_runtime.py (bfrange around line 155 and _apply_cidrange around line 124, where _nunpack accepts operands of any length). In both, the span computed as end - start + 1 from attacker-supplied hex strings drives a loop that inserts one mapping entry per value, and the only validation is that the operand byte lengths match - there is no cap on the span itself. Roughly 40 bytes of hex therefore express a span of about 4.3e9, and the reporter's saved parser-level runs show escalating times (0.41 s at a 0x000FFFFF span, 6.72 s at 0x00FFFFFF on the legacy parser, 18.44 s on the new runtime) with a full 0x00000000-0xFFFFFFFF span OOM-killing a 1 GB-constrained process with exit 137. This is CWE-770 (allocation of resources without limits or throttling), classified as CWE-400 in the upstream advisory; the weakness is amplification during CMap range expansion rather than memory corruption or any read/write primitive, which is consistent with the availability-only impact (VA:H, VC:N, VI:N). The 0.7.0 fix moves ToUnicode handling into a Rust parser that compiles range mappings as intervals instead of materializing every code in the range, applies a default-on limit to retained mapping data, and aborts oversized mappings with ParserResourceLimitError.
Know when Babeldoc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
A crafted PDF is parsed remotely with no authentication or user interaction (AV:N/AC:L/PR:N/UI:N); impact is resource exhaustion only, so C:N/I:N/A:H with unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Technical POC Analysis
Uncontrolled resource consumption (allocation of resources without limits or throttling; the advisory text files this under CWE-400, the assigned CWE is CWE-770).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-124553 is a high-severity flaw in BabelDOC (versions 0.3.61 through 0.6.4) that allows an attacker to crash translation workers by sending a specially crafted PDF, disrupting document processing services. Since PDFs often come from external sources, any team relying on BabelDOC for translation is at risk of service outages, though no data breach or system compromise is possible. Leadership should prioritize patching to avoid operational downtime and potential customer impact.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-119609
GHSA-2w74-49x3-cmf5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB