CVE-2026-134761

libical before 4.0.7 Double Free via icalparser_clean

Published Nov 22, 2026 CVSS 4.0 · 5.8 Medium EPSS n/a KEV · Not listed
Description
libical before 4.0.7 contains a use-after-free and double free vulnerability in icalparser_clean() 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.

Analysis

AI-generated

Technical impact

This vulnerability arises from a double free in icalparser_clean() when an iCalendar file lacks a matching END delimiter. The defect allows an attacker to trigger two frees of the same heap object, corrupting adjacent memory and potentially causing crashes or undefined behavior. The weakness is a classic use‑after‑free leading to heap corruption.

Affected Systems

The issue affects libical, the open source calendar library, in all releases prior to version 4.0.7. Applications that embed libical and accept iCalendar input, such as mail clients, calendar servers, and any service parsing calendar data, are potentially impacted.

Risk and Exploitability

The CVSS score of 5.8 indicates moderate severity. EPSS is not available and the vulnerability is not listed in CISA KEV. An attacker must supply a deliberately truncated iCalendar stream; thus the attack vector is through any component that processes calendar data. While the vulnerability mainly causes denial of service or memory corruption, a skilled attacker could exploit the corrupted heap to achieve arbitrary code execution in some contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update libical to version 4.0.7 or later.
  • Verify that applications validate completeness of iCalendar input, ensuring BEGIN/END delimiters match before processing.
  • If an immediate update is not feasible, restrict access to interfaces accepting iCalendar data and enforce strict size limits to reduce the risk of exhausting heap resources.

Generated by OpenCVE AI on November 22, 2026 at 22:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description libical before 4.0.7 contains a use-after-free and double free vulnerability in icalparser_clean() 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.
Title libical before 4.0.7 Double Free via icalparser_clean
First Time appeared Libical Project
Libical Project libical
Weaknesses CWE-415
CPEs cpe:2.3:a:libical_project:libical:*:*:*:*:*:*:*:*
Vendors & Products Libical Project
Libical Project libical
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H'}

cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 22, 2026, 9:22 PM
Reserved
Nov 22, 2026, 2:49 PM
Status
Deferred
Published
Nov 22, 2026, 10:17 PM
Modified
Nov 22, 2026, 10:17 PM