CVE-2023-35169: PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / e
CVE-2023-35169 is a critical-severity flaw (CVSS 9.0) affecting php-imap. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / enabled. Prior to version 5.3.0, an unsanitized attachment filename allows any unauthenticated user to leverage a directory traversal vulnerability, which results in a remote code execution vulnerability. Every application that stores attachments with `Attachment::save()` without providing a `$filename` or passing unsanitized user input is
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.0 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.2% (top 12%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2023-06-23 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · 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
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-2023-35169?
php-imap: upgrade to 5.3.0. Exact commands for each OS are on this page.
Is CVE-2023-35169 being exploited?
CVE-2023-35169 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-2023-35169 affect?
CVE-2023-35169 affects php-imap. Severity is critical (CVSS 9.0). PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / enabled. Prior to version 5.3.0, an unsanitized attachment filename allows any unauthenticated user to leverage a directory travers
How urgent is CVE-2023-35169?
Priority 64/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action