Inactive users assigned package licenses will show up as active users of the app
|Knowledge Article Number||000188077|
Inactive users in a Salesforce org who are assigned to a package license are showing as an active user of a managed package in the licenses section.
|Resolution||Inactive users in a Salesforce org assigned to a package license will be counted as an active user of a managed package in the licenses section. Below is an example of 3 users assign to a package but it shows 6 used licenses:
The only way to remove other users from the package license is to manually remove it from the user record under the managed related list.
Its best to create a list view of inactive users and click on each user record to check if a package license is assigned.