Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2005-1807: The Data function in class.smtp.php in PHPMailer 1.7.2 and earlier allows remote attackers to cause a denial o

45
This month
MEDIUM 5.0UPGRADE

CVE-2005-1807 is a medium-severity flaw (CVSS 5.0) affecting phpmailer. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The Data function in class.smtp.php in PHPMailer 1.7.2 and earlier allows remote attackers to cause a denial of service (infinite loop leading to memory and CPU consumption) via a long header field.

Why this priority

  • EPSS top 8%: very likely to be exploited
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score5.0 (Medium)
EPSS exploit chance4.5% (top 8%)
CISA exploited listNo
Published2005-05-28
Last modified2026-06-16
Publisher (CNA): MITRE · Vendor: phpmailer

Share: LinkedIn · X · Reddit

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

Am I affected?

Timeline

phpmailer phpmailer UPGRADE
Affected: <= 1.72
Fixed in: newer than 1.72
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy phpmailer || rpm -q phpmailer || phpmailer --version
2. UPGRADE to newer than 1.72 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade phpmailer
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade phpmailer
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

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-2005-1807?

phpmailer: upgrade to newer than 1.72. Exact commands for each OS are on this page.

Is CVE-2005-1807 being exploited?

CVE-2005-1807 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-2005-1807 affect?

CVE-2005-1807 affects phpmailer. Severity is medium (CVSS 5.0). The Data function in class.smtp.php in PHPMailer 1.7.2 and earlier allows remote attackers to cause a denial of service (infinite loop leading to memory and CPU consumption) via a long header field.

How urgent is CVE-2005-1807?

Priority 45/100. EPSS top 8%: very likely to be exploited; Public exploit reference

Software pages

PHP vulnerabilities

Related CVEs

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.