AploSec / Disclosures / CVE-2026-124553
BabelDOC from 0.3.61 before 0.7.0 Denial of Service via ToUnicode CMap Parsing
CVE-2026-124553 · published 2026-11-08
In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). A fixed release is listed.
Summary
CVE-2026-124553 affects babeldoc (pypi) >= 0.3.61, < 0.7.0: ToUnicode CMap bfrange/cidrange spans expanded with no upper bound (CWE-770). Fixed in 0.7.0. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-11-08 by VulnCheck. Credit: Zachariah Mithani.
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade babeldoc to 0.7.0 or later. Releases in the affected range (>= 0.3.61, < 0.7.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-08 CVE published
- 2026-11-11 Public record last updated
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/babeldoc-from-0.3.61-before-0.7.0-denial-of-service-via-tounicode-cmap-parsing
- Referencehttps://github.com/funstory-ai/BabelDOC/security/advisories/GHSA-wrv8-h9rp-6fqq
- Vulnerable codehttps://github.com/funstory-ai/BabelDOC/blob/main/docs/release-notes/v0.7.0.md
- Fix commithttps://github.com/funstory-ai/BabelDOC/commit/39a6e9eafeecd39404b94b2f71e88ea058753dd5
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-124553
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-124553
- Severity
- High 8.7CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- babeldoc
- Ecosystem
- PyPI
- Affected
- >= 0.3.61, < 0.7.0
- Fixed
- 0.7.0
- Weakness
- CWE-770
- CNA
- VulnCheck
- Credit
- Zachariah Mithanifinder