Inefficient Algorithmic Complexity Affecting icalendar package, versions [7.1.0,7.1.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.44% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-ICALENDAR-22983651
  • published26 Nov 2026
  • disclosed25 Aug 2026
  • credittidusec

Introduced: 25 Aug 2026

CVE-2026-55099  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade icalendar to version 7.1.3 or higher.

Overview

icalendar is a RFC 5545 compatible parser and generator of iCalendar files

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the __eq__ method of Component in src/icalendar/cal/component.py, which exhibits quadratic (O(n²)) time complexity when comparing calendar components with deeply nested subcomponents. An attacker can trigger excessive CPU consumption by submitting equal or near-equal calendar trees, causing both comparison loops to recurse fully across all subcomponents at each level. The fix replaces the nested list-scan approach with an iterative stack-based algorithm that eliminates the quadratic blowup.

CVSS Base Scores

version 4.0
version 3.1