libical 4.0.0 before 4.0.7 Infinite Loop via icalrecur_iterator_set_range
- State
- Published
- Severity
- 5.7 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 25, 2026
Description
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.
| Product | Versions |
|---|---|
| libical libical | 4.0.0 to before 4.0.7 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | VulnCheck | |
| 3.1 | 4.7 Medium | VulnCheck |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
- https://github.com/libical/libical/pull/1458Issue TrackerPatch
- https://github.com/libical/libical/commit/0380a29f6fbfb2d23d5fe98b42edbb2353b04f63Patch
- https://github.com/libical/libical/pull/1510Issue TrackerPatch
- libical v4.0.7 Release NotesRelease Notes
- https://github.com/libical/libical/blob/v4.0.6/src/libical/icalrecur.c#L4198Technical Details
- VulnCheck Advisory: libical 4.0.0 before 4.0.7 Infinite Loop via icalrecur_iterator_set_rangeThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.