# CVE-2006-5734: PHPMailer Local file inclusion

Source: https://junglewise.ai/threats/cve-2006-5734-phpmailer-local-file-inclusion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-02  
License: CC BY 4.0 with a link back

CVE-2006-5734 · Severity: info · Published 2024-02-02

PHPMailer Local file inclusion

Technologies: [phpmailer/phpmailer (Packagist)](https://junglewise.ai/threats/technologies/phpmailer-phpmailer). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2006-5734 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2006-5734 being exploited in the wild.

**How severe is CVE-2006-5734?** Informational severity, published 2 February 2024.

**Which products and versions are affected?** phpmailer/phpmailer (Packagist) ECOSYSTEM:introduced=0,fixed=5.2.0.

**Is there a fix for CVE-2006-5734?** Yes. phpmailer/phpmailer (Packagist): upgrade to 5.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2006-5734?** Check whether you run phpmailer/phpmailer (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- phpmailer/phpmailer (Packagist): upgrade to 5.2.0 or later

  ```sh
  composer require phpmailer/phpmailer:^5.2.0
  ```


## Affected products

- phpmailer/phpmailer (Packagist) ECOSYSTEM:introduced=0,fixed=5.2.0

## Identifiers

- CVE-2006-5734
- GHSA-8jc3-5p29-qgjx

## Related threats

- [PHPMailer Shell command injection](https://junglewise.ai/threats/cve-2007-3215-phpmailer-shell-command-injection)
- [PHPMailer vulnerable to email header injection](https://junglewise.ai/threats/cve-2012-0796-phpmailer-vulnerable-to-email-header-injection)
- [PHPMailer susceptible to arbitrary code execution](https://junglewise.ai/threats/cve-2008-5619-phpmailer-susceptible-to-arbitrary-code-execution)
- [PHPMailer untrusted code may be run from an overridden address validator](https://junglewise.ai/threats/cve-2021-3603-phpmailer-untrusted-code-may-be-run-from-an-overridden-address)
- [Remote Code Execution vulnerability in PHPMailer 6.4.1 running on Windows](https://junglewise.ai/threats/cve-2021-34551-remote-code-execution-vulnerability-in-phpmailer-6-4-1-running-on)
