{"id":"CVE-2026-124553","summary":"BabelDOC from 0.3.61 before 0.7.0 Denial of Service via ToUnicode CMap Parsing","details":"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.","aliases":["GHSA-wrv8-h9rp-6fqq"],"modified":"2026-11-11T02:31:04.758468972Z","published":"2026-11-08T14:12:44.813Z","database_specific":{"cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124553.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124553.json"},{"type":"ADVISORY","url":"https://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.7.0.md"},{"type":"ADVISORY","url":"https://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-wrv8-h9rp-6fqq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124553"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/babeldoc-from-0.3.61-before-0.7.0-denial-of-service-via-tounicode-cmap-parsing"},{"type":"FIX","url":"https://github.com/funstory-ai/BabelDOC/commit/39a6e9eafeecd39404b94b2f71e88ea058753dd5"},{"type":"PACKAGE","url":"https://github.com/funstory-ai/BabelDOC"},{"type":"ARTICLE","url":"https://github.com/funstory-ai/BabelDOC/blob/v0.6.4/babeldoc/format/pdf/new_parser/runtime/to_unicode_parser_runtime.py#L150-L158"},{"type":"ARTICLE","url":"https://github.com/funstory-ai/BabelDOC/blob/v0.6.4/babeldoc/pdfminer/cmapdb.py#L378-L389"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/funstory-ai/babeldoc","events":[{"introduced":"24288eb36539c252c464ff5d9667ecd8ed5c37ca"},{"fixed":"dbc42abad73bfdc89346424376f32b9c8ee6ea81"},{"fixed":"39a6e9eafeecd39404b94b2f71e88ea058753dd5"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.3.61"},{"fixed":"0.7.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"39a6e9eafeecd39404b94b2f71e88ea058753dd5"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.24","v0.5.23","v0.5.22","v0.5.21","v0.5.20","v0.5.19","v0.5.18","v0.5.17","v0.5.16","v0.5.15","v0.5.14","v0.5.13","v0.5.12","v0.5.11","v0.5.10","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.22","v0.4.21","v0.4.20","v0.4.19","v0.4.18","v0.4.17","v0.4.16","v0.4.15","v0.4.14","v0.4.13","v0.4.12","v0.4.11","v0.4.10","v0.4.9","v0.4.8","v0.4.7","v0.4.6","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.72","v0.3.71","v0.3.70","v0.3.69","v0.3.68","v0.3.67","v0.3.66","v0.3.65","v0.3.64","v0.3.63","v0.3.62","v0.3.61"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124553.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}