BabelDOC from 0.3.61 before 0.7.0 Denial of Service via ToUnicode CMap Parsing
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 8, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 8, 2026
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.
| Product | Versions |
|---|---|
| BabelDOC funstory-ai | 0.3.61 to before 0.7.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- GitHub Security Advisory (GHSA-wrv8-h9rp-6fqq)Vendor Advisory
- https://github.com/funstory-ai/BabelDOC/commit/39a6e9eafeecd39404b94b2f71e88ea058753dd5Patch
- https://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.7.0.mdRelease Notes
- https://github.com/funstory-ai/BabelDOC/blob/v0.6.4/babeldoc/pdfminer/cmapdb.py#L378-L389Technical Details
- https://github.com/funstory-ai/BabelDOC/blob/v0.6.4/babeldoc/format/pdf/new_parser/runtime/to_unicode_parser_runtime.py#L150-L158Technical Details
- VulnCheck Advisory: BabelDOC from 0.3.61 before 0.7.0 Denial of Service via ToUnicode CMap ParsingThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.