Libical versions before 3.0.11-5.oe2203sp4 contain a use-after-free and double free vulnerability in the icalparser_clean() function, which can be triggered by supplying truncated iCalendar input missing a matching END line. This leads to heap memory corruption and application crashes. Additionally, a denial of service vulnerability exists due to improper parser nesting level reset when reusing an icalparser, causing memory growth and dropped calendars upon malformed input. These issues are fixed in version 3.0.11-5.oe2203sp4.