CVE-2026-124553
7.5HighPublished 08 Nov 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- CWE-770
What an attacker gets
Remote attackers can crash the translation service by submitting crafted PDFs. No authentication is required to trigger this resource exhaustion.
Root cause
The PDF parser fails to limit the iteration count when processing unbounded bfrange and cidrange spans in ToUnicode CMaps.
Affected versions
BabelDOC 0.3.61 through 0.6.x before 0.7.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fix & remediation
Upgrade to BabelDOC 0.7.0 or later. If you cannot update immediately, restrict access to the PDF translation endpoint to trusted internal sources.
$ pip install --upgrade babeldocAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.7.0.md
- https://github.com/funstory-ai/BabelDOC/blob/v0.6.4/babeldoc/format/pdf/new_parser/runtime/to_unicode_parser_runtime.py#L150-L158
- https://github.com/funstory-ai/BabelDOC/blob/v0.6.4/babeldoc/pdfminer/cmapdb.py#L378-L389
- https://github.com/funstory-ai/BabelDOC/commit/39a6e9eafeecd39404b94b2f71e88ea058753dd5
- https://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-wrv8-h9rp-6fqq
- https://www.vulncheck.com/advisories/babeldoc-from-0.3.61-before-0.7.0-denial-of-service-via-tounicode-cmap-parsing