CVE-2026-77399

icalendar: Denial of service via unbounded VALARM REPEAT expansion

Published Sep 22, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Collective
Collective icalendar
Vendors & Products Collective
Collective icalendar
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'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-834

    Excessive Iteration

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 23, 2026, 2:36 PM
Reserved
Aug 20, 2026, 7:55 PM
Status
Awaiting Analysis
Published
Sep 22, 2026, 7:16 PM
Modified
Sep 23, 2026, 6:12 PM