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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| collective | icalendar | >= 6.1.0, < 7.2.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-icalendar | 7.3.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-icalendar | No fix yet | — |
| Ubuntu 26.04 LTS | python-icalendar | No fix yet | — |
| Ubuntu 24.04 LTS | python-icalendar | No fix yet | — |
| Ubuntu 22.04 LTS | python-icalendar | No fix yet | — |
| Ubuntu 20.04 LTS | python-icalendar | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | python-icalendar | No fix yet | — |
| Ubuntu 16.04 LTS | python-icalendar | No fix yet | — |
References
- https://github.com/collective/icalendar/security/advisories/GHSA-qjcq-q7h7-r74v
- https://github.com/collective/icalendar/pull/1571
- https://github.com/collective/icalendar/commit/157f85137c65565a308bbcf4fdcc7d8ebce01267
- https://github.com/collective/icalendar/commit/cddd37226adbc52cca52a399f61d38a378221219
- https://github.com/collective/icalendar/releases/tag/v7.2.2