CVE-2026-134761: libical before 4.0.7 Double Free via icalparser_clean
libical before 4.0.7 contains a use-after-free and double free vulnerability in icalparserclean() that allows attackers to corrupt heap memory by supplying truncated iCalendar input. Attackers can provide an iCalendar file or stream missing a matching END line, causing the returned component to be freed twice and crashing applications.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Applications using libical versions before 4.0.7 are affected when they parse attacker-controlled iCalendar files or streams. The issue is triggered by malformed, truncated input that lacks a matching END line.
What does an attacker need to exploit this?
An attacker needs to get a malformed iCalendar file or stream processed by the vulnerable parser. The CVSS vector indicates local attack access, no required privileges, required user interaction, and high attack complexity.
What is the remediation?
Upgrade libical to version 4.0.7 or later. The referenced fix is commit 6c48980adfda60abba4827ed76c8cfb8e943cb72.