Vulnerability · Published Aug 25, 2026 · Assigned by GitHub_M
CVE-2026-55099icalendar: Algorithmic Complexity in Equality
High 7.5
In plain English
A high-severity uncontrolled resource consumption in icalendar from collective. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | icalendar | 7.1.3 | GHSA-cv84-9p8j-fj68 |
| PyPI | icalendar | 7.1.3 | PYSEC-2026-3851 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| collective | icalendar | >= 7.1.0, < 7.1.3 |
Weakness: CWE-400, CWE-407 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/collective/icalendar/security/advisories/GHSA-cv84-9p8j-fj68 x_refsource_CONFIRM
- https://github.com/collective/icalendar/commit/b6b2608ae3af6de40695b4e40f71847485aa0b49 x_refsource_MISC
- https://github.com/collective/icalendar/commit/cad40cd112c93fd142ec12cc5b37445a849b8a79 x_refsource_MISC
- https://github.com/collective/icalendar/releases/tag/v7.1.3 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2026/06/23/8