CVE-2026-33635: iCalendar Ruby - ICS Injection
- Cve: CVE-2026-33635
- Name: iCalendar Ruby - ICS Injection
- Description: iCalendar is a Ruby library for dealing with iCalendar files in the iCalendar format defined by RFC-5545. Starting in version 2.0.0 and prior to version 2.12.2, .ics serialization does not properly sanitize URI property values, enabling ICS injection through attacker-controlled input, adding arbitrary calendar lines to the output. `Icalendar::Values::Uri` falls back to the raw input string when `URI.parse` fails and later serializes it with `value.to_s` without removing or escaping `\r` or `\n` characters. That value is embedded directly into the final ICS line by the normal serializer, so a payload containing CRLF can terminate the original property and create a new ICS property or component. (It looks like you can inject via url, source, image, organizer, attach, attendee, conference, tzurl because of this). Applications that generate `.ics` files from partially untrusted metadata are impacted. As a result, downstream calendar clients or importers may process attacker-supplied content as if it were legitimate event data, such as added attendees, modified URLs, alarms, or other calendar fields. Version 2.12.2 contains a patch for the issue.
- Impact: Attackers can inject arbitrary calendar data, potentially misleading users or causing malicious calendar events to be processed.
- Remediation: Upgrade to version 2.12.2 or later.
- Vulnerability impact: data_tampering, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Epss score: 0.00291
- Epss percentile: 0.21999
- Assignee: [email protected]
- Published at: 2026-03-26T21:17:07Z
- Age in days: 243
- Modified at: 2026-06-17T10:37:49Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33635
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/icalendar/icalendar/security/advisories/GHSA-pv9c-9mfh-hvxq | nvd | 2026-03-26 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/icalendar/icalendar/commit/b8d23b490363ee5fffaec1d269a8618a912ca265 | Patch |
| https://github.com/icalendar/icalendar/security/advisories/GHSA-pv9c-9mfh-hvxq | Exploit, Mitigation, Vendor Advisory |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/icalendar/CVE-2026-33635.yml | Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| icalendar_project:icalendar | >= 2.0.0, < 2.12.2 | no | nvd | /v1/products/icalendar_project/icalendar |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| icalendar/icalendar | commit, package, security_advisory | yes | /v1/repositories/icalendar/icalendar |
Index
- Repositories: 2
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-26
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts