PHP file inclusion in PHPMailer - CVE-2006-5734

 

PHP file inclusion in PHPMailer - CVE-2006-5734

Published: March 5, 2020 / Updated: November 6, 2026


Vulnerability identifier: #VU159537
CSH Severity: Low
CVSS v4: 0 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2006-5734
CWE-ID: CWE-98
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause PHPMailer to include arbitrary files from the local filesystem.

The vulnerability exists due to insufficient validation of the $lang property in PHPMailer when a host application assigns unfiltered user input to that property. A remote attacker can supply a crafted language value through the host application and cause an attacker-selected local file to be included.


Affected software

PHPMailer

How to mitigate CVE-2006-5734

Install security update from vendor's website.

PHPMailer - update to 5.2.0

External References

Related Security Bulletins