Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft calendar with reverse-range RRULE (no UNTIL)
-
DeliveryVictim application parses .ics via libical
-
Exploiticalrecur_iterator_set_range() iterates backward from year 0
-
ExecutionLoop never terminates
-
ImpactCalling thread spins at 100% CPU (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the host application to call libical's icalrecur_iterator_set_range() for a reverse (backward) range on an attacker-supplied recurrence rule that has no UNTIL clause; the crafted RRULE is iterated over a reverse range so the iteration (pre-fix) begins at year 0 rather than at 'from' and never terminates. Concrete prerequisites: the application must embed an affected libical (4.0.0 through 4.0.6), must exercise the reverse-range iteration code path (not every consumer of libical does), and must ingest the malicious calendar. Limiting factors that reduce realistic risk: local attack vector (AV:L) rather than direct network reach to the library, high attack complexity (AC:H) and a specific attack requirement (AT:P) tied to the reverse-range-without-UNTIL condition, and passive user interaction (UI:P) to process the crafted .ics; impact is limited to availability (a CPU-spinning denial of service), with no confidentiality or integrity effect. |
| Impact | This is a genuine but moderate-priority availability-only issue, not a high-urgency emergency. The CVSS 4.0 score is 5.7 (medium) with vector AV:L/AC:H/AT:P/PR:N/UI:P and impact confined to VA:H (availability), with no confidentiality or integrity impact - consistent with the CWE-835 infinite-loop (DoS) classification. Multiple barriers lower real-world risk: a local attack vector (AV:L), high attack complexity (AC:H), a specific attack requirement (AT:P), and passive user interaction (UI:P) meaning a victim application must process the attacker-supplied calendar. The exploitation status is: no public exploit identified at time of analysis (the references are vendor patches and a VulnCheck advisory, not a PoC or exploit). No EPSS score and no KEV status were provided in the input, so probability-of-exploitation and active-exploitation signals cannot be assessed - their absence is not evidence of low risk, only of missing data. The vuln.today decision label is 'this_month', indicating routine scheduled patching rather than act_now/emergency. Net: a credible denial-of-service that merits patching on a normal cycle, weighted by how exposed the specific deployment's calendar-parsing path is; it is not a drop-everything issue. |
| Exploit ScenarioDerived | An attacker crafts an iCalendar object whose recurrence rule (RRULE without UNTIL) is designed to be iterated over a reverse range, then delivers it to an application that uses libical and processes the calendar (for example by opening or importing the .ics). When the application invokes icalrecur_iterator_set_range() for backward iteration, the iterator starts at year 0 instead of 'from' and never terminates, pinning the calling thread at full CPU. No public exploit code is identified; successful triggering depends on the host application exercising libical's reverse-range iteration path and on user interaction to process the file. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Denial of service in libical 4.0.0 through 4.0.6 occurs when a host application calls icalrecur_iterator_set_range() for a reverse range on an attacker-supplied recurrence rule that has no UNTIL clause: the pre-fix iterator starts at year 0 instead of at the requested 'from' time and never terminates, spinning the calling thread at full CPU. The impact is availability-only (CVSS 5.7; CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N), requiring a local vector, high attack complexity, and the application's reverse-range code path, so realistic risk is limited rather than an emergency. Vendor-released patch: 4.0.7; no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade libical to 4.0.7 or later (release: https://github.com/libical/libical/releases/tag/v4.0.7), which incorporates the fix from PR #1458/commit 0380a29f and follow-up PR #1510. If upgrading cannot be performed immediately, reduce exposure by preventing calls to icalrecur_iterator_set_range() with a reverse range on untrusted recurrence rules, particularly rules lacking UNTIL; validate or normalize RRULEs before parsing and enforce an UNTIL/COUNT or bounded iteration limit on untrusted calendar data. Trade-offs: rejecting or rewriting rules without UNTIL can break legitimate recurring events, and disabling reverse-range expansion may remove a feature for clients that request backward occurrence lists. Running calendar parsing/expansion in an isolated worker with CPU/time limits can contain a spin, but timeouts may terminate or destabilize the worker and are not a substitute for the 4.0.7 update. Advisory references: https://github.com/libical/libical/pull/1458, https://github.com/libical/libical/commit/0380a29f6fbfb2d23d5fe98b42edbb2353b04f63, https://github.com/libical/libical/pull/1510, https://www.vulncheck.com/advisories/libical-4.0.0-before-4.0.7-infinite-loop-via-icalrecur-iterator-set-range.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libical is an open-source implementation of iCalendar (RFC 5545) used by calendar clients, servers, and groupware to parse and expand recurrence rules. The flaw is CWE-835 (infinite loop) in icalrecur_iterator_set_range(): when a reverse range is requested on a recurrence rule without UNTIL, the pre-fix code treats the absent UNTIL as a non-null comparison point and begins iteration at year 0 instead of at the supplied 'from' value; subsequent backward iteration never reaches a terminator. The upstream fix in PR #1458/commit 0380a29f and follow-up PR #1510 adds a null-UNTIL check, breaks when icalrecur_iterator_next() returns null time, and adds bounds checks to the year-days bitmask helpers (daysmask_in_range, daysmask_add_day, daymask_find_next_bit/prev_bit) to prevent out-of-bounds access. The affected CPE set is cpe:2.3:a:libical:libical:*:*:*:*:*:*:*:* with fixed version 4.0.7; the trigger requires the application to use the reverse-range API on untrusted calendar data, and the supplied vector describes a local, high-complexity, user-interaction-dependent availability issue.
Know when Libical gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Attacker needs no authentication to supply a crafted calendar (PR:N) but relies on the app's reverse-range path and victim processing (AC:H/UI:R, AV:L); impact is availability-only infinite loop (A:H, C:N/I:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
libical 4.0.0 before 4.0.7 contains an infinite loop vulnerability in icalrecur_iterator_set_range() that allows attackers to cause denial of service by supplying crafted recurrence rules. Attackers can provide a calendar whose recurrence rule is iterated over a reverse range, causing the loop to never terminate and spin the calling thread at full CPU indefinitely.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
libical allows remote attackers to cause a denial of service (use-after-free) and possibly read heap memory via a crafte
The icaltime_from_string function in libical 0.47 and 1.0 allows remote attackers to cause a denial of service (out-of-b
The parser_get_next_char function in libical 0.47 and 1.0 allows remote attackers to cause a denial of service (out-of-b
Decoding crafted iCalendar text that ends in a trailing backslash drives a heap-based out-of-bounds read in libical 4.0.
Parsing attacker-controlled iCalendar data containing a parameterized property in libical 4.0.6 can terminate the consum
Double free and use-after-free in libical before 4.0.7 can corrupt heap memory and crash applications that parse a trunc
The icalparser_parse_string function in libical 0.47 and 1.0 allows remote attackers to cause a denial of service (out-o
The icalproperty_new_clone function in libical 0.47 and 1.0 allows remote attackers to cause a denial of service (use-af
libical 1.0 allows remote attackers to cause a denial of service (use-after-free) via a crafted ics file. Rated medium s
EUVD-2026-135766
GHSA-x8jj-6rcj-x2xr
NVD
CVE.org
EPSS
Exploit-DB