CVE-2026-55099 icalendar: Algorithmic Complexity in Equality
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
icalendar is an RFC 5545 compatible parser and generator of iCalendar files for Python. From 7.1.0 until 7.1.3, the Component equality method in src/icalendar/cal/component.py compares nested subcomponents with two membership loops, and each membership test invokes the same method on child components, causing O(2^n) work relative to nesting depth. Component.from_ical accepts arbitrarily nested BEGIN:VEVENT blocks without a depth limit, so an attacker can submit a sub-kilobyte .ics file containing equal nested subtrees and trigger the cost when an application performs equality, inequality, membership, deduplication, test-assertion, round-trip, or normalization comparisons. Parsing alone does not trigger the issue, and comparisons that differ early short-circuit, but a few hundred bytes can pin a CPU core for minutes or indefinitely, causing denial of service in calendar sync or import endpoints, invite processing, and other comparison paths. This issue is fixed in version 7.1.3.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi icalendar(PyPI) | = 7.1.0; = 7.1.1; = 7.1.2; >= 7.1.0, < 7.1.3 | 7.1.3 | Fixed |
| collective icalendar | = >= 7.1.0, < 7.1.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi icalendar(PyPI) | >= 7.1.0, < 7.1.3 | 7.1.3 |
| pypi icalendar(PyPI) | = 7.1.0 | No fix listed |
| pypi icalendar(PyPI) | = 7.1.1 | No fix listed |
| pypi icalendar(PyPI) | = 7.1.2 | No fix listed |
| collective icalendar | = >= 7.1.0, < 7.1.3 | No fix listed |
References
- https://github.com/collective/icalendar/security/advisories/GHSA-cv84-9p8j-fj68 exploit vendor-advisory
- https://github.com/collective/icalendar/commit/b6b2608ae3af6de40695b4e40f71847485aa0b49 patch
- https://github.com/collective/icalendar/commit/cad40cd112c93fd142ec12cc5b37445a849b8a79 patch
- github.com product
- https://github.com/collective/icalendar/releases/tag/v7.1.3
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- www.openwall.com
- ENISA EUVD EUVD-2026-65743 third-party-advisory