VYPR
High severity7.5NVD Advisory· Published Jan 27, 2017· Updated May 13, 2026

CVE-2016-5827

CVE-2016-5827

Description

A heap out-of-bounds read in libical's icaltime_from_string function allows remote attackers to cause denial of service via crafted iCalendar data.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A heap out-of-bounds read in libical's icaltime_from_string function allows remote attackers to cause denial of service via crafted iCalendar data.

Vulnerability

The icaltime_from_string function in libical versions 0.47 and 1.0 performs an out-of-bounds heap read when parsing a specially crafted string. The bug is reachable through the icalparser_parse_string function, which processes iCalendar data. An attacker can trigger the vulnerability by providing a malicious .ics file or calendar input that includes a crafted date-time string [1][2].

Exploitation

An attacker needs only to supply a crafted iCalendar string to a service or application that uses libical to parse calendar data. The icalparser_parse_string function processes the input and calls icaltime_from_string, which then reads beyond the allocated heap buffer. No authentication or special privileges are required; the attack can be performed remotely over the network (e.g., via email clients that parse attached .ics files). The flaw manifests as a segmentation fault or an AddressSanitizer-reported heap over-read [1].

Impact

Successful exploitation causes a denial of service (DoS) due to an out-of-bounds heap read, which can crash the application or service. The vulnerability does not lead to code execution or information disclosure beyond the heap memory layout; its primary impact is service disruption. The crash occurs in the context of the process handling the calendar data, potentially affecting email clients or calendar applications [1][2].

Mitigation

The libical maintainer confirmed that the issue was fixed in the libical 3.0 branch, and users are advised to upgrade to libical 3.0.8 or later [2]. Versions 0.47 and 1.0 are affected and no longer receive patches. As of the last update in the bug tracker, the resolution was marked WORKSFORME (meaning the reporter did not reproduce on newer versions) and closed in 2021; the CVE is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

13

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.