Allocation of Resources Without Limits or Throttling Affecting icalendar package, versions [,7.3.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ICALENDAR-22840483
  • published24 Nov 2026
  • disclosed22 Sept 2026
  • creditSashankBhamidi

Introduced: 22 Sep 2026

CVE-2026-77399  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade icalendar to version 7.3.0 or higher.

Overview

icalendar is a RFC 5545 compatible parser and generator of iCalendar files

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via unbounded REPEAT expansion in Alarms and Alarm.triggers. An attacker can supply a crafted VALARM with a very large REPEAT value and a DURATION; when an application processing that calendar requests alarm times, these paths eagerly expand every repetition, consuming excessive CPU and memory and potentially exhausting the process’s resources.

Notes

  • No authentication is required to send the crafted calendar; the attack reaches the vulnerable expansion when an application processes that untrusted input and requests alarm times.

Workarounds

  • Before accessing alarm times, validate each VALARM and reject any with REPEAT > 10_000; this prevents excessive CPU and memory use from expanding large repeat counts. For example:
    for alarm in event.walk("VALARM"):
        if alarm.REPEAT > 10_000:
            raise ValueError("REPEAT exceeds safe limit")
    

CVSS Base Scores

version 4.0
version 3.1