Read the docs

Resource exhaustion in BabelDOC ToUnicode CMap parsing

Priority MEDIUM 44CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-770.

Summary

BabelDOC from 0.3.61 before 0.7.0 contains a resource exhaustion flaw in ToUnicode CMap parsing (CWE-770). A remote attacker can submit a crafted PDF whose embedded CMap declares an unbounded range, which drives the translation worker into billions of loop iterations and exhausts CPU and memory.

Written with Claude Haiku 5.5 from the sources below · 2026-11-08

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00542 46th percentileScored 2026-11-16
Fix Fixed BabelDOC (funstory-ai): 0.7.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
funstory-aiBabelDOC0.3.61 to before 0.7.00.7.0Patch availableCNA
  • BabelDOC Vendorfunstory-ai Affected 0.3.61 to before 0.7.0 Fixed in 0.7.0 Patch available CNA

Remediation

Upgrade funstory-ai BabelDOC to version 0.7.0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-08

  • Fix · CNA BabelDOC (funstory-ai) Fixed in 0.7.0

Timeline

  1. 2026-11-08 Threatist record created from CVE-2026-124553
  2. 2026-11-08 Alias added: GHSA-2w74-49x3-cmf5
  3. 2026-11-09 CISA SSVC decision points changed

References

  • TI-2026-39002 BabelDOC: Arbitrary Code Execution via CMap Pickle Deserialization in babeldoc/pdfminer/cmapdb.py CVSS 3.1HIGH 7.8

Sources