icalendar: Denial of service via unbounded VALARM REPEAT expansion
cve-program · CVE-2026-77399
Publishedicalendar 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-77399 · CVE overview and exploitation status
cve-program · CVE-2026-77399
- 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
Related changes
Linked by CVE identifierNo related changes are available here.