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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| funstory-ai | BabelDOC | >= 0.3.61, < 0.7.0 |
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
Timeline
- Published
- Nov 8, 2026
- Last modified
- Nov 9, 2026
- NVD status
- Deferred