libical before 4.0.7 Denial of Service via icalparser_clean() Nesting Level
- State
- Published
- Severity
- 5.7 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 24, 2026
Description
libical before 4.0.7 contains a denial of service vulnerability because icalparser_clean() does not reset the parser nesting level when reusing an icalparser. Attackers can submit a single malformed calendar with unclosed or mismatched BEGIN/END lines, causing later calendars to be silently dropped and memory to grow unbounded.
| Product | Versions |
|---|---|
| libical libical | 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-909 Missing Initialization of Resource
References
- https://github.com/libical/libical/issues/1442Issue Tracker
- https://github.com/libical/libical/commit/3b537b37f2b3ead5284453b9b69d1617d8224cdfPatch
- libical v4.0.7 Release NotesRelease Notes
- https://github.com/libical/libical/blob/v4.0.6/src/libical/icalparser.c#L1169-L1198Technical Details
- https://github.com/libical/libical/blob/v4.0.6/src/libical/icalparser.c#L798-L812Technical Details
- VulnCheck Advisory: libical before 4.0.7 Denial of Service via icalparser_clean() Nesting LevelThird-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.