CVE-2008-5840: PHP iCalendar 2.24 and earlier allows remote attackers to bypass authentication by setting the phpicalendar an
CVE-2008-5840 is a high-severity flaw (CVSS 7.5) affecting phpicalendar, phpicalendar2.0. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PHP iCalendar 2.24 and earlier allows remote attackers to bypass authentication by setting the phpicalendar and phpicalendar_login cookies to 1.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| EPSS exploit chance | 3.0% (top 13%) |
| CISA exploited list | No |
| Weakness | CWE-264 |
| Published | 2009-01-05 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: PHP iCalendar 2.24 - Insecure Cookie Handling
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2008-5840?
phpicalendar: upgrade to newer than 2.24; phpicalendar2.0: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2008-5840 being exploited?
CVE-2008-5840 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2008-5840 affect?
CVE-2008-5840 affects phpicalendar, phpicalendar2.0. Severity is high (CVSS 7.5). PHP iCalendar 2.24 and earlier allows remote attackers to bypass authentication by setting the phpicalendar and phpicalendar_login cookies to 1.
How urgent is CVE-2008-5840?
Priority 53/100. High severity; Public exploit reference
Software pages
Related CVEs
- CVE-2008-5968 HIGH 7.5 UPGRADE Directory traversal vulnerability in print.php in PHP iCalendar 2.24 and earlier allows remote attackers to in
- CVE-2008-5967 HIGH 7.5 UPGRADE admin/index.php in PHP iCalendar 2.3.4, 2.24, and earlier does not require administrative authentication for a