Description
icalendar is an RFC 5545 compatible parser and generator of iCalendar files for Python. From 6.1.0 until 7.2.2, vInt.from_ical accepts an attacker-controlled VALARM REPEAT value and applications that request alarm times can eagerly expand it without an application-level limit. Alarms.times and Alarms.active reach the unbounded expansion in versions starting with 6.1.0, while Alarm.triggers adds a second affected path starting with 7.0.0. Parsing alone does not trigger the issue, but accessing these properties can consume excessive CPU time and heap memory and terminate or stall a service. This issue is fixed in version 7.2.2.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-400 — CWE-400: Uncontrolled Resource Consumption
- CWE-834 — CWE-834: Excessive Iteration
Affected products
| Vendor | Product | Versions |
|---|---|---|
| collective | icalendar | >= 6.1.0, < 7.2.2 |
References
- https://github.com/collective/icalendar/security/advisories/GHSA-qjcq-q7h7-r74v (x_refsource_CONFIRM)
- https://github.com/collective/icalendar/pull/1571 (x_refsource_MISC)
- https://github.com/collective/icalendar/commit/157f85137c65565a308bbcf4fdcc7d8ebce01267 (x_refsource_MISC)
- https://github.com/collective/icalendar/commit/cddd37226adbc52cca52a399f61d38a378221219 (x_refsource_MISC)
- https://github.com/collective/icalendar/releases/tag/v7.2.2 (x_refsource_MISC)
Generated from the official CVE List on 23 Sep 2026 07:02 UTC.