Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2023-35169: PHP-IMAP is a wrapper for common IMAP communication without the need to have the php-imap module installed / e

64
This week
CRITICAL 9.0REMOTEUPGRADE

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 score9.0 (Critical)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance3.2% (top 12%)
CISA exploited listNo
WeaknessCWE-22
Published2023-06-23
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: webklex

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

webklex php-imap UPGRADE
Affected: < 5.3.0
Fixed in: 5.3.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy php-imap || rpm -q php-imap || php-imap --version
2. UPGRADE to 5.3.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade php-imap
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade php-imap
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

Software pages

PHP vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.