Skip to main content

libical CVE-2026-137080

| EUVDEUVD-2026-135766 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-25 VulnCheck GHSA-x8jj-6rcj-x2xr
5.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft calendar with reverse-range RRULE (no UNTIL)
  2. Delivery
    Victim application parses .ics via libical
  3. Exploit
    icalrecur_iterator_set_range() iterates backward from year 0
  4. Execution
    Loop never terminates
  5. Impact
    Calling 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

libical 4.0.0 <4.0.7

Affected Packages

euvd libical fix: 4.0.7

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

Vendor (VulnCheck) PRIMARY 5.7 MEDIUM
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
vuln.today AI 4.7 MEDIUM

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

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular open-source iCalendar library embedded in many calendar/mail clients and servers
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy