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.
Published: 2026-09-22
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in the icalendar Python library, which parses and generates iCalendar files. From versions 6.1.0 through 7.2.2, the vInt.from_ical function accepts a VALARM REPEAT property set by an attacker. When application code accesses Alarms.times or Alarms.active, the library eagerly expands the repeat count without an application‑level limit. Alarm.triggers adds a second vulnerable path starting with version 7.0.0. This expansion can consume excessive CPU time and heap memory, eventually terminating or stalling the host process. The flaw is classified under CWE‑400 (Uncontrolled Resource Consumption) and CWE‑834 (Unbounded Recursion).

Affected Systems

Affected systems are applications that depend on the collective:icalendar Python package. The vulnerable range spans 6.1.0 to 7.2.2. Functions Alarms.times, Alarms.active, and Alarm.triggers are the exposed entry points. Any code that parses an attacker‑controlled iCalendar file and then queries one of these properties may trigger the resource exhaustion.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity. EPSS is not available and the vulnerability is not listed in CISA's KEV catalog, suggesting no immediate widespread exploitation. The attack vector is local to applications that load the library; an adversary must supply a crafted iCalendar file and cause the application to request the affected alarm properties. Resource exhaustion can be mitigated by updating the library or limiting repeat values before expansion.

Generated by OpenCVE AI on September 22, 2026 at 21:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the icalendar package to version 7.2.2 or newer to eliminate the unbounded expansion logic.
  • If an upgrade is not immediately possible, validate or cap all VALARM REPEAT values before passing them to the library and avoid triggering Alarms.times, Alarms.active, or Alarm.triggers on untrusted data.
  • Apply the repository commits referenced in the advisories or manually patch the library to add a safe guard on repeat expansion if an upgrade cannot be performed.

Generated by OpenCVE AI on September 22, 2026 at 21:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Collective
Collective icalendar
Vendors & Products Collective
Collective icalendar

Tue, 22 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title icalendar: Denial of service via unbounded VALARM REPEAT expansion
Weaknesses CWE-400
CWE-834
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Collective Icalendar
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-22T18:58:56.647Z

Reserved: 2026-08-20T19:55:27.023Z

Link: CVE-2026-77399

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-22T19:16:51.443

Modified: 2026-09-22T19:16:51.443

Link: CVE-2026-77399

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T21:15:07Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-834

    Excessive Iteration