Lookup for vulnerable packages by Package URL.

Purlpkg:composer/phpmailer/phpmailer@5.2.4
Typecomposer
Namespacephpmailer
Namephpmailer
Version5.2.4
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version6.5.0
Latest_non_vulnerable_version6.5.0
Affected_by_vulnerabilities
0
url VCID-16kp-5zpw-fbha
vulnerability_id VCID-16kp-5zpw-fbha
summary
Insufficient output escaping of attachment names in PHPMailer
### Impact
CWE-116: Incorrect output escaping.

An attachment added like this (note the double quote within the attachment name, which is entirely valid):

    $mail->addAttachment('/tmp/attachment.tmp', 'filename.html";.jpg');

Will result in a message containing these headers:

    Content-Type: application/octet-stream; name="filename.html";.jpg"
    Content-Disposition: attachment; filename="filename.html";.jpg"

The attachment will be named `filename.html`, and the trailing `";.jpg"` will be ignored. Mail filters that reject `.html` attachments but permit `.jpg` attachments may be fooled by this.

Note that the MIME type itself is obtained automatically from the *source filename* (in this case `attachment.tmp`, which maps to a generic `application/octet-stream` type), and not the *name* given to the attachment (though these are the same if a separate name is not provided), though it can be set explicitly in other parameters to attachment methods.

### Patches
Patched in PHPMailer 6.1.6 by escaping double quotes within the name using a backslash, as per RFC822 section 3.4.1, resulting in correctly escaped headers like this:

    Content-Type: application/octet-stream; name="filename.html\";.jpg"
    Content-Disposition: attachment; filename="filename.html\";.jpg"

### Workarounds
Reject or filter names and filenames containing double quote (`"`) characters before passing them to attachment functions such as `addAttachment()`.

### References
[CVE-2020-13625](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13625).
[PHPMailer 6.1.6 release](https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6)

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [the PHPMailer repo](https://github.com/PHPMailer/PHPMailer/issues)
references
0
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html
1
reference_url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
2
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-13625
reference_id
reference_type
scores
0
value 0.04546
scoring_system epss
scoring_elements 0.89193
published_at 2026-04-11T12:55:00Z
1
value 0.04546
scoring_system epss
scoring_elements 0.89183
published_at 2026-04-09T12:55:00Z
2
value 0.04546
scoring_system epss
scoring_elements 0.89178
published_at 2026-04-08T12:55:00Z
3
value 0.04546
scoring_system epss
scoring_elements 0.8916
published_at 2026-04-07T12:55:00Z
4
value 0.04546
scoring_system epss
scoring_elements 0.89158
published_at 2026-04-04T12:55:00Z
5
value 0.04546
scoring_system epss
scoring_elements 0.89142
published_at 2026-04-02T12:55:00Z
6
value 0.04546
scoring_system epss
scoring_elements 0.89135
published_at 2026-04-01T12:55:00Z
7
value 0.04546
scoring_system epss
scoring_elements 0.89199
published_at 2026-04-18T12:55:00Z
8
value 0.04546
scoring_system epss
scoring_elements 0.89189
published_at 2026-04-12T12:55:00Z
9
value 0.04546
scoring_system epss
scoring_elements 0.89187
published_at 2026-04-13T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-13625
3
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13625
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13625
4
reference_url https://github.com/PHPMailer/PHPMailer
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer
5
reference_url https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/commit/c2796cb1cb99d7717290b48c4e6f32cb6c60b7b3
6
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.1.6
7
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-f7hx-fqxw-rvvj
8
reference_url https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.debian.org/debian-lts-announce/2020/06/msg00014.html
9
reference_url https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.debian.org/debian-lts-announce/2020/08/msg00004.html
10
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ
11
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFM3BZABL6RUHTVMXSC7OFMP4CKWMRPJ/
12
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX
13
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SMH4TC5XTS3KZVGMSKEPPBZ2XTZCKKCX/
14
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-13625
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-13625
15
reference_url https://usn.ubuntu.com/4505-1
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://usn.ubuntu.com/4505-1
16
reference_url https://usn.ubuntu.com/4505-1/
reference_id
reference_type
scores
url https://usn.ubuntu.com/4505-1/
17
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962827
reference_id 962827
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=962827
18
reference_url https://github.com/advisories/GHSA-f7hx-fqxw-rvvj
reference_id GHSA-f7hx-fqxw-rvvj
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-f7hx-fqxw-rvvj
19
reference_url https://usn.ubuntu.com/5956-1/
reference_id USN-5956-1
reference_type
scores
url https://usn.ubuntu.com/5956-1/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@6.1.6
purl pkg:composer/phpmailer/phpmailer@6.1.6
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-44d3-4txm-cyc3
1
vulnerability VCID-jca1-hyks-kud3
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.1.6
aliases CVE-2020-13625, GHSA-f7hx-fqxw-rvvj
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-16kp-5zpw-fbha
1
url VCID-44d3-4txm-cyc3
vulnerability_id VCID-44d3-4txm-cyc3
summary
Remote Code Execution vulnerability in PHPMailer 6.4.1 running on Windows
PHPMailer 6.4.1 contains a possible remote code execution vulnerability through the `$lang_path` parameter of the `setLanguage()` method. If the `$lang_path` parameter is passed unfiltered from user input, it can be set to [a UNC path](https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths), and if an attacker is also able to create a remote mount on the server that the UNC path points to, a script file under their control may be executed. 

### Impact
Arbitrary code may be run by a remote attacker under the web server or PHP process running on Window hosts.

### Patches
Mitigated in PHPMailer 6.5.0 by no longer treating translation files as PHP code, but by parsing their text content directly.
This approach avoids the possibility of executing unknown code while retaining backward compatibility. This isn't ideal, so the current translation format is deprecated and will be replaced in the next major release.

### Workarounds
Any of:
* Ensure that calling code does not pass unfiltered user-supplied data to the `$lang_path` parameter of the `setLanguage()` method.
* Block or filter the use of unknown UNC paths in this parameter (or altogether).
* Ensure that unauthorised users do not have the ability to read from unknown remote servers via UNC paths.
* Run on an OS that does not support UNC paths

### References
[CVE-2021-34551](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-34551).

Reported by [listensec.com](https://listensec.com) via Tidelift.

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [PHPMailer](https://github.com/PHPMailer/PHPMailer)
* [Email the maintainers](mailto:phpmailer@synchromedia.co.uk)
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-34551
reference_id
reference_type
scores
0
value 0.02108
scoring_system epss
scoring_elements 0.84094
published_at 2026-04-09T12:55:00Z
1
value 0.02108
scoring_system epss
scoring_elements 0.84125
published_at 2026-04-18T12:55:00Z
2
value 0.02108
scoring_system epss
scoring_elements 0.84123
published_at 2026-04-16T12:55:00Z
3
value 0.02108
scoring_system epss
scoring_elements 0.84101
published_at 2026-04-13T12:55:00Z
4
value 0.02108
scoring_system epss
scoring_elements 0.84105
published_at 2026-04-12T12:55:00Z
5
value 0.02108
scoring_system epss
scoring_elements 0.84111
published_at 2026-04-11T12:55:00Z
6
value 0.02108
scoring_system epss
scoring_elements 0.84046
published_at 2026-04-02T12:55:00Z
7
value 0.02108
scoring_system epss
scoring_elements 0.84033
published_at 2026-04-01T12:55:00Z
8
value 0.02108
scoring_system epss
scoring_elements 0.84063
published_at 2026-04-04T12:55:00Z
9
value 0.02108
scoring_system epss
scoring_elements 0.84064
published_at 2026-04-07T12:55:00Z
10
value 0.02108
scoring_system epss
scoring_elements 0.84088
published_at 2026-04-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-34551
1
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-34551.yaml
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-34551.yaml
2
reference_url https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md
3
reference_url https://github.com/PHPMailer/PHPMailer/commit/acd264bf17ff4ac5c915f0d4226dce8a9ea70bc3
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/commit/acd264bf17ff4ac5c915f0d4226dce8a9ea70bc3
4
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0
5
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7q44-r25x-wm4q
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7q44-r25x-wm4q
6
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ
7
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/
8
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM
9
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/
10
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-34551
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-34551
11
reference_url https://github.com/advisories/GHSA-7q44-r25x-wm4q
reference_id GHSA-7q44-r25x-wm4q
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-7q44-r25x-wm4q
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@6.5.0
purl pkg:composer/phpmailer/phpmailer@6.5.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.5.0
aliases CVE-2021-34551, GHSA-7q44-r25x-wm4q
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-44d3-4txm-cyc3
2
url VCID-7kvh-8w1t-2kej
vulnerability_id VCID-7kvh-8w1t-2kej
summary Multiple CRLF injection vulnerabilities allow attackers to inject arbitrary SMTP commands via CRLF sequences in an email address to the `validateAddress` function in `class.phpmailer.php` or SMTP command to the `sendCommand` function in `class.smtp.php`.
references
0
reference_url http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177130.html
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177130.html
1
reference_url http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177139.html
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177139.html
2
reference_url https://api.first.org/data/v1/epss?cve=CVE-2015-8476
reference_id
reference_type
scores
0
value 0.00948
scoring_system epss
scoring_elements 0.76384
published_at 2026-04-16T12:55:00Z
1
value 0.00948
scoring_system epss
scoring_elements 0.76349
published_at 2026-04-12T12:55:00Z
2
value 0.00948
scoring_system epss
scoring_elements 0.7637
published_at 2026-04-11T12:55:00Z
3
value 0.00948
scoring_system epss
scoring_elements 0.76344
published_at 2026-04-13T12:55:00Z
4
value 0.00948
scoring_system epss
scoring_elements 0.7633
published_at 2026-04-08T12:55:00Z
5
value 0.00948
scoring_system epss
scoring_elements 0.76297
published_at 2026-04-07T12:55:00Z
6
value 0.00948
scoring_system epss
scoring_elements 0.76318
published_at 2026-04-04T12:55:00Z
7
value 0.00948
scoring_system epss
scoring_elements 0.76284
published_at 2026-04-01T12:55:00Z
8
value 0.00948
scoring_system epss
scoring_elements 0.76288
published_at 2026-04-02T12:55:00Z
9
value 0.00948
scoring_system epss
scoring_elements 0.7639
published_at 2026-04-18T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2015-8476
3
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8476
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8476
4
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2015-8476.yaml
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2015-8476.yaml
5
reference_url https://github.com/PHPMailer/PHPMailer/commit/6687a96a18b8f12148881e4ddde795ae477284b0
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/commit/6687a96a18b8f12148881e4ddde795ae477284b0
6
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.14
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.14
7
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-738m-f33v-qc2r
reference_id
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-738m-f33v-qc2r
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2015-8476
reference_id
reference_type
scores
0
value 5.0
scoring_system cvssv2
scoring_elements AV:N/AC:L/Au:N/C:N/I:P/A:N
1
value LOW
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2015-8476
9
reference_url http://www.debian.org/security/2015/dsa-3416
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url http://www.debian.org/security/2015/dsa-3416
10
reference_url http://www.openwall.com/lists/oss-security/2015/12/04/5
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url http://www.openwall.com/lists/oss-security/2015/12/04/5
11
reference_url http://www.openwall.com/lists/oss-security/2015/12/05/1
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url http://www.openwall.com/lists/oss-security/2015/12/05/1
12
reference_url http://www.securityfocus.com/bid/78619
reference_id
reference_type
scores
0
value LOW
scoring_system generic_textual
scoring_elements
url http://www.securityfocus.com/bid/78619
13
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807265
reference_id 807265
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807265
14
reference_url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*
reference_id cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*
reference_type
scores
url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:*
15
reference_url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
reference_id cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
reference_type
scores
url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
16
reference_url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
reference_id cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
reference_type
scores
url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
17
reference_url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
reference_id cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
reference_type
scores
url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
18
reference_url http://www.cvedetails.com/cve/CVE-2015-8476/
reference_id CVE-2015-8476
reference_type
scores
url http://www.cvedetails.com/cve/CVE-2015-8476/
19
reference_url https://github.com/advisories/GHSA-738m-f33v-qc2r
reference_id GHSA-738m-f33v-qc2r
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-738m-f33v-qc2r
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@5.2.14
purl pkg:composer/phpmailer/phpmailer@5.2.14
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-cq4m-3q7u-cbg3
3
vulnerability VCID-f585-qf89-f7f3
4
vulnerability VCID-jca1-hyks-kud3
5
vulnerability VCID-xrtk-1rmg-7uca
6
vulnerability VCID-ywsv-ddhg-b7es
7
vulnerability VCID-zju7-7wax-zfhz
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.14
aliases CVE-2015-8476, GHSA-738m-f33v-qc2r
risk_score 2.2
exploitability 0.5
weighted_severity 4.5
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-7kvh-8w1t-2kej
3
url VCID-cq4m-3q7u-cbg3
vulnerability_id VCID-cq4m-3q7u-cbg3
summary
Remote code execution in PHPMailer
### Impact
The `mailSend` function in the default `isMail` transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted `Sender` property.

### Patches
Fixed in 5.2.18

### Workarounds
Filter and validate user input before passing it to internal functions.

### References
https://nvd.nist.gov/vuln/detail/CVE-2016-10033
Related to a follow-on issue in https://nvd.nist.gov/vuln/detail/CVE-2016-10045

### For more information
If you have any questions or comments about this advisory:
* Open a private issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)
references
0
reference_url http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html
1
reference_url http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
2
reference_url https://api.first.org/data/v1/epss?cve=CVE-2016-10033
reference_id
reference_type
scores
0
value 0.94465
scoring_system epss
scoring_elements 0.99996
published_at 2026-04-18T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2016-10033
3
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10033
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10033
4
reference_url https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html
5
reference_url http://seclists.org/fulldisclosure/2016/Dec/78
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url http://seclists.org/fulldisclosure/2016/Dec/78
6
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10033.yaml
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10033.yaml
7
reference_url https://github.com/PHPMailer/PHPMailer
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer
8
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18
9
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-5f37-gxvh-23v6
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
2
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-5f37-gxvh-23v6
10
reference_url https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
11
reference_url https://nvd.nist.gov/vuln/detail/CVE-2016-10033
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2016-10033
12
reference_url https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-10033
13
reference_url https://www.drupal.org/psa-2016-004
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.drupal.org/psa-2016-004
14
reference_url https://www.exploit-db.com/exploits/40968
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/40968
15
reference_url https://www.exploit-db.com/exploits/40969
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/40969
16
reference_url https://www.exploit-db.com/exploits/40970
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/40970
17
reference_url https://www.exploit-db.com/exploits/40974
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/40974
18
reference_url https://www.exploit-db.com/exploits/40986
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/40986
19
reference_url https://www.exploit-db.com/exploits/41962
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/41962
20
reference_url https://www.exploit-db.com/exploits/41996
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/41996
21
reference_url https://www.exploit-db.com/exploits/42024
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/42024
22
reference_url https://www.exploit-db.com/exploits/42221
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/42221
23
reference_url http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
24
reference_url http://www.securitytracker.com/id/1037533
reference_id 1037533
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url http://www.securitytracker.com/id/1037533
25
reference_url https://www.exploit-db.com/exploits/40968/
reference_id 40968
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/40968/
26
reference_url https://www.exploit-db.com/exploits/40969/
reference_id 40969
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/40969/
27
reference_url https://www.exploit-db.com/exploits/40970/
reference_id 40970
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/40970/
28
reference_url https://www.exploit-db.com/exploits/40974/
reference_id 40974
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/40974/
29
reference_url https://www.exploit-db.com/exploits/40986/
reference_id 40986
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/40986/
30
reference_url https://www.exploit-db.com/exploits/41962/
reference_id 41962
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/41962/
31
reference_url https://www.exploit-db.com/exploits/41996/
reference_id 41996
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/41996/
32
reference_url https://www.exploit-db.com/exploits/42024/
reference_id 42024
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/42024/
33
reference_url https://www.exploit-db.com/exploits/42221/
reference_id 42221
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://www.exploit-db.com/exploits/42221/
34
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849365
reference_id 849365
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849365
35
reference_url http://www.securityfocus.com/bid/95108
reference_id 95108
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url http://www.securityfocus.com/bid/95108
36
reference_url https://security.archlinux.org/ASA-201701-22
reference_id ASA-201701-22
reference_type
scores
url https://security.archlinux.org/ASA-201701-22
37
reference_url https://security.archlinux.org/AVG-142
reference_id AVG-142
reference_type
scores
0
value High
scoring_system archlinux
scoring_elements
url https://security.archlinux.org/AVG-142
38
reference_url https://exploitbox.io/vuln/WordPress-Exploit-4-6-RCE-CODE-EXEC-CVE-2016-10033.html
reference_id CVE-2016-10033
reference_type exploit
scores
url https://exploitbox.io/vuln/WordPress-Exploit-4-6-RCE-CODE-EXEC-CVE-2016-10033.html
39
reference_url https://github.com/opsxcq/exploit-CVE-2016-10033/commit/1f6642cf116ecb6b6b96b5ec966915d5100adfe3
reference_id CVE-2016-10033
reference_type exploit
scores
url https://github.com/opsxcq/exploit-CVE-2016-10033/commit/1f6642cf116ecb6b6b96b5ec966915d5100adfe3
40
reference_url https://github.com/rapid7/metasploit-framework/blob/1f4ff30adb09c836dc9cb5f2c2024a244cebd08d/modules/exploits/unix/webapp/wp_phpmailer_host_header.rb
reference_id CVE-2016-10033
reference_type exploit
scores
url https://github.com/rapid7/metasploit-framework/blob/1f4ff30adb09c836dc9cb5f2c2024a244cebd08d/modules/exploits/unix/webapp/wp_phpmailer_host_header.rb
41
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/41962.sh
reference_id CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/41962.sh
42
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/42024.rb
reference_id CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/42024.rb
43
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40968.sh
reference_id CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40968.sh
44
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40970.php
reference_id CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40970.php
45
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40974.py
reference_id CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40974.py
46
reference_url https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html
reference_id CVE-2016-10033
reference_type exploit
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
2
value CRITICAL
scoring_system generic_textual
scoring_elements
3
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html
47
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40969.py
reference_id CVE-2016-10045;CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40969.py
48
reference_url https://exploitbox.io/vuln/Vanilla-Forums-Exploit-RCE-0day-Remote-Code-Exec-CVE-2016-10033.html
reference_id CVE-2016-10073;CVE-2016-10033
reference_type exploit
scores
url https://exploitbox.io/vuln/Vanilla-Forums-Exploit-RCE-0day-Remote-Code-Exec-CVE-2016-10033.html
49
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/41996.sh
reference_id CVE-2016-10073;CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/remote/41996.sh
50
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40986.py
reference_id CVE-2016-10074;CVE-2016-10045;CVE-2016-10034;CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/40986.py
51
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/42221.py
reference_id CVE-2016-10074;CVE-2016-10045;CVE-2016-10034;CVE-2016-10033
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/42221.py
52
reference_url https://legalhackers.com/videos/PHPMailer-Exploit-Remote-Code-Exec-Vuln-CVE-2016-10033-PoC.html
reference_id CVE-2016-10074;CVE-2016-10045;CVE-2016-10034;CVE-2016-10033
reference_type exploit
scores
url https://legalhackers.com/videos/PHPMailer-Exploit-Remote-Code-Exec-Vuln-CVE-2016-10033-PoC.html
53
reference_url https://github.com/advisories/GHSA-5f37-gxvh-23v6
reference_id GHSA-5f37-gxvh-23v6
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-5f37-gxvh-23v6
54
reference_url http://www.securityfocus.com/archive/1/539963/100/0/threaded
reference_id threaded
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value Act
scoring_system ssvc
scoring_elements SSVCv2/E:A/A:Y/T:T/P:M/B:A/M:M/D:C/2025-07-17T03:55:44Z/
url http://www.securityfocus.com/archive/1/539963/100/0/threaded
55
reference_url https://usn.ubuntu.com/5956-1/
reference_id USN-5956-1
reference_type
scores
url https://usn.ubuntu.com/5956-1/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@5.2.18
purl pkg:composer/phpmailer/phpmailer@5.2.18
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-f585-qf89-f7f3
3
vulnerability VCID-jca1-hyks-kud3
4
vulnerability VCID-xrtk-1rmg-7uca
5
vulnerability VCID-ywsv-ddhg-b7es
6
vulnerability VCID-zju7-7wax-zfhz
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.18
aliases CVE-2016-10033, GHSA-5f37-gxvh-23v6
risk_score 10.0
exploitability 2.0
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-cq4m-3q7u-cbg3
4
url VCID-f585-qf89-f7f3
vulnerability_id VCID-f585-qf89-f7f3
summary
Object injection
PHPMailer is vulnerable to an object injection attack.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2018-19296
reference_id
reference_type
scores
0
value 0.01553
scoring_system epss
scoring_elements 0.81467
published_at 2026-04-18T12:55:00Z
1
value 0.01553
scoring_system epss
scoring_elements 0.81466
published_at 2026-04-16T12:55:00Z
2
value 0.01553
scoring_system epss
scoring_elements 0.81429
published_at 2026-04-13T12:55:00Z
3
value 0.01553
scoring_system epss
scoring_elements 0.81436
published_at 2026-04-12T12:55:00Z
4
value 0.02119
scoring_system epss
scoring_elements 0.84099
published_at 2026-04-07T12:55:00Z
5
value 0.02119
scoring_system epss
scoring_elements 0.84122
published_at 2026-04-08T12:55:00Z
6
value 0.02119
scoring_system epss
scoring_elements 0.84128
published_at 2026-04-09T12:55:00Z
7
value 0.02119
scoring_system epss
scoring_elements 0.8408
published_at 2026-04-02T12:55:00Z
8
value 0.02119
scoring_system epss
scoring_elements 0.84067
published_at 2026-04-01T12:55:00Z
9
value 0.02119
scoring_system epss
scoring_elements 0.84146
published_at 2026-04-11T12:55:00Z
10
value 0.02119
scoring_system epss
scoring_elements 0.84097
published_at 2026-04-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2018-19296
1
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19296
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19296
2
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2018-19296.yaml
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2018-19296.yaml
3
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.27
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.27
4
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.0.6
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.0.6
5
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7w4p-72j7-v7c2
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-7w4p-72j7-v7c2
6
reference_url https://lists.debian.org/debian-lts-announce/2018/12/msg00020.html
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.debian.org/debian-lts-announce/2018/12/msg00020.html
7
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B
8
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/
9
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT
10
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/
11
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B
12
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3B5WDPGUFNPG4NAZ6G4BZX43BKLAVA5B/
13
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT
14
reference_url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KPU66INRFY5BQ3ESVPRUXJR4DXQAFJVT/
15
reference_url https://www.debian.org/security/2018/dsa-4351
reference_id
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://www.debian.org/security/2018/dsa-4351
16
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913912
reference_id 913912
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913912
17
reference_url https://nvd.nist.gov/vuln/detail/CVE-2018-19296
reference_id CVE-2018-19296
reference_type
scores
0
value 8.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2018-19296
18
reference_url https://github.com/advisories/GHSA-7w4p-72j7-v7c2
reference_id GHSA-7w4p-72j7-v7c2
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-7w4p-72j7-v7c2
19
reference_url https://usn.ubuntu.com/5956-1/
reference_id USN-5956-1
reference_type
scores
url https://usn.ubuntu.com/5956-1/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@5.2.27
purl pkg:composer/phpmailer/phpmailer@5.2.27
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-jca1-hyks-kud3
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.27
1
url pkg:composer/phpmailer/phpmailer@6.0.6
purl pkg:composer/phpmailer/phpmailer@6.0.6
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-jca1-hyks-kud3
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.0.6
aliases CVE-2018-19296, GHSA-7w4p-72j7-v7c2
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-f585-qf89-f7f3
5
url VCID-jca1-hyks-kud3
vulnerability_id VCID-jca1-hyks-kud3
summary
PHPMailer untrusted code may be run from an overridden address validator
If a function is defined that has the same name as the default built-in email address validation scheme (`php`), it will be called in default configuration as when no validation scheme is provided, the default scheme's callable `php` was being called. If an attacker is able to inject such a function into the application (a much bigger issue), it will be called whenever an email address is validated, such as when calling `validateAddress()`.

### Impact
Low impact – exploitation requires that an attacker can already inject code into an application, but it provides a trigger pathway.

### Patches
This is patched in PHPMailer 6.5.0 by denying the use of simple strings as validator function names, which is a very minor BC break.

### Workarounds
Inject your own email validator function.

### References
Reported by [Vikrant Singh Chauhan](mailto:vi@hackberry.xyz) via [huntr.dev](https://www.huntr.dev/).
[CVE-2021-3603](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603)

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)
* [Email us](mailto:phpmailer@synchromedia.co.uk).
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-3603
reference_id
reference_type
scores
0
value 0.00778
scoring_system epss
scoring_elements 0.73595
published_at 2026-04-07T12:55:00Z
1
value 0.00778
scoring_system epss
scoring_elements 0.73693
published_at 2026-04-18T12:55:00Z
2
value 0.00778
scoring_system epss
scoring_elements 0.73684
published_at 2026-04-16T12:55:00Z
3
value 0.00778
scoring_system epss
scoring_elements 0.73641
published_at 2026-04-13T12:55:00Z
4
value 0.00778
scoring_system epss
scoring_elements 0.73649
published_at 2026-04-12T12:55:00Z
5
value 0.00778
scoring_system epss
scoring_elements 0.73666
published_at 2026-04-11T12:55:00Z
6
value 0.00778
scoring_system epss
scoring_elements 0.73644
published_at 2026-04-09T12:55:00Z
7
value 0.00778
scoring_system epss
scoring_elements 0.73589
published_at 2026-04-01T12:55:00Z
8
value 0.00778
scoring_system epss
scoring_elements 0.73598
published_at 2026-04-02T12:55:00Z
9
value 0.00778
scoring_system epss
scoring_elements 0.73622
published_at 2026-04-04T12:55:00Z
10
value 0.00778
scoring_system epss
scoring_elements 0.73631
published_at 2026-04-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-3603
1
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3603
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3603
2
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-3603.yaml
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2021-3603.yaml
3
reference_url https://github.com/PHPMailer/PHPMailer
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer
4
reference_url https://github.com/PHPMailer/PHPMailer/commit/45f3c18dc6a2de1cb1bf49b9b249a9ee36a5f7f3
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/commit/45f3c18dc6a2de1cb1bf49b9b249a9ee36a5f7f3
5
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v6.5.0
6
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-77mr-wc79-m8j3
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-77mr-wc79-m8j3
7
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ
8
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3YRMWGA4VTMXFB22KICMB7YMFZNFV3EJ/
9
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM
10
reference_url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/
reference_id
reference_type
scores
url https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJYSOFCUBS67J3TKR74SD3C454N7VTYM/
11
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-3603
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-3603
12
reference_url https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603
13
reference_url https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer
14
reference_url https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer/
reference_id
reference_type
scores
url https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer/
15
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991666
reference_id 991666
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991666
16
reference_url https://github.com/advisories/GHSA-77mr-wc79-m8j3
reference_id GHSA-77mr-wc79-m8j3
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-77mr-wc79-m8j3
17
reference_url https://usn.ubuntu.com/5956-1/
reference_id USN-5956-1
reference_type
scores
url https://usn.ubuntu.com/5956-1/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@6.5.0
purl pkg:composer/phpmailer/phpmailer@6.5.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@6.5.0
aliases CVE-2021-3603, GHSA-77mr-wc79-m8j3
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-jca1-hyks-kud3
6
url VCID-n13m-y4ks-euep
vulnerability_id VCID-n13m-y4ks-euep
summary
Improper Control of Generation of Code ('Code Injection')
html2text.php in Chuggnutt HTML to Text Converter, as used in PHPMailer before 5.2.10, RoundCube Webmail (roundcubemail) 0.2-1.alpha and 0.2-3.beta, Mahara, and AtMail Open 1.03, allows remote attackers to execute arbitrary code via crafted input that is processed by the preg_replace function with the eval switch.
references
0
reference_url http://mahara.org/interaction/forum/topic.php?id=533
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url http://mahara.org/interaction/forum/topic.php?id=533
1
reference_url http://osvdb.org/53893
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url http://osvdb.org/53893
2
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-5619.json
reference_id
reference_type
scores
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2008-5619.json
3
reference_url https://api.first.org/data/v1/epss?cve=CVE-2008-5619
reference_id
reference_type
scores
0
value 0.77692
scoring_system epss
scoring_elements 0.98995
published_at 2026-04-16T12:55:00Z
1
value 0.77692
scoring_system epss
scoring_elements 0.98994
published_at 2026-04-12T12:55:00Z
2
value 0.77692
scoring_system epss
scoring_elements 0.98993
published_at 2026-04-11T12:55:00Z
3
value 0.77692
scoring_system epss
scoring_elements 0.98991
published_at 2026-04-09T12:55:00Z
4
value 0.77692
scoring_system epss
scoring_elements 0.98992
published_at 2026-04-08T12:55:00Z
5
value 0.77692
scoring_system epss
scoring_elements 0.9899
published_at 2026-04-07T12:55:00Z
6
value 0.77692
scoring_system epss
scoring_elements 0.98988
published_at 2026-04-04T12:55:00Z
7
value 0.77692
scoring_system epss
scoring_elements 0.98986
published_at 2026-04-02T12:55:00Z
8
value 0.77692
scoring_system epss
scoring_elements 0.98997
published_at 2026-04-18T12:55:00Z
9
value 0.77692
scoring_system epss
scoring_elements 0.98984
published_at 2026-04-01T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2008-5619
4
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5619
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5619
5
reference_url http://secunia.com/advisories/33145
reference_id
reference_type
scores
url http://secunia.com/advisories/33145
6
reference_url http://secunia.com/advisories/33170
reference_id
reference_type
scores
url http://secunia.com/advisories/33170
7
reference_url http://secunia.com/advisories/34789
reference_id
reference_type
scores
url http://secunia.com/advisories/34789
8
reference_url https://github.com/PHPMailer/PHPMailer
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer
9
reference_url https://github.com/PHPMailer/PHPMailer/commit/8beacc646acb67c995aea10ac5585970efc7355a
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/commit/8beacc646acb67c995aea10ac5585970efc7355a
10
reference_url http://sourceforge.net/forum/forum.php?forum_id=898542
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url http://sourceforge.net/forum/forum.php?forum_id=898542
11
reference_url https://www.exploit-db.com/exploits/7549
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/7549
12
reference_url https://www.exploit-db.com/exploits/7553
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/7553
13
reference_url https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00783.html
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00783.html
14
reference_url https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00802.html
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url https://www.redhat.com/archives/fedora-package-announce/2008-December/msg00802.html
15
reference_url http://trac.roundcube.net/changeset/2148
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url http://trac.roundcube.net/changeset/2148
16
reference_url http://trac.roundcube.net/ticket/1485618
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url http://trac.roundcube.net/ticket/1485618
17
reference_url http://www.openwall.com/lists/oss-security/2008/12/12/1
reference_id
reference_type
scores
0
value HIGH
scoring_system generic_textual
scoring_elements
url http://www.openwall.com/lists/oss-security/2008/12/12/1
18
reference_url http://www.securityfocus.com/archive/1/499489/100/0/threaded
reference_id
reference_type
scores
url http://www.securityfocus.com/archive/1/499489/100/0/threaded
19
reference_url http://www.vupen.com/english/advisories/2008/3418
reference_id
reference_type
scores
url http://www.vupen.com/english/advisories/2008/3418
20
reference_url http://www.vupen.com/english/advisories/2008/3419
reference_id
reference_type
scores
url http://www.vupen.com/english/advisories/2008/3419
21
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=476223
reference_id 476223
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=476223
22
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508628
reference_id 508628
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508628
23
reference_url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:roundcube:webmail:0.2.1:alpha:*:*:*:*:*:*
reference_id cpe:2.3:a:roundcube:webmail:0.2.1:alpha:*:*:*:*:*:*
reference_type
scores
url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:roundcube:webmail:0.2.1:alpha:*:*:*:*:*:*
24
reference_url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:roundcube:webmail:0.2.3:beta:*:*:*:*:*:*
reference_id cpe:2.3:a:roundcube:webmail:0.2.3:beta:*:*:*:*:*:*
reference_type
scores
url https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:roundcube:webmail:0.2.3:beta:*:*:*:*:*:*
25
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/7549.txt
reference_id CVE-2008-5619
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/7549.txt
26
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/7553.sh
reference_id CVE-2008-5619
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/7553.sh
27
reference_url https://nvd.nist.gov/vuln/detail/CVE-2008-5619
reference_id CVE-2008-5619
reference_type
scores
0
value 10.0
scoring_system cvssv2
scoring_elements AV:N/AC:L/Au:N/C:C/I:C/A:C
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2008-5619
28
reference_url https://github.com/advisories/GHSA-v5c9-mmw9-829q
reference_id GHSA-v5c9-mmw9-829q
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-v5c9-mmw9-829q
29
reference_url https://usn.ubuntu.com/791-1/
reference_id USN-791-1
reference_type
scores
url https://usn.ubuntu.com/791-1/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@5.2.10
purl pkg:composer/phpmailer/phpmailer@5.2.10
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-7kvh-8w1t-2kej
3
vulnerability VCID-cq4m-3q7u-cbg3
4
vulnerability VCID-f585-qf89-f7f3
5
vulnerability VCID-jca1-hyks-kud3
6
vulnerability VCID-xrtk-1rmg-7uca
7
vulnerability VCID-ywsv-ddhg-b7es
8
vulnerability VCID-zju7-7wax-zfhz
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.10
aliases CVE-2008-5619, GHSA-v5c9-mmw9-829q
risk_score 10.0
exploitability 2.0
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-n13m-y4ks-euep
7
url VCID-xrtk-1rmg-7uca
vulnerability_id VCID-xrtk-1rmg-7uca
summary
Remote code execution in PHPMailer
### Impact
The `isMail` transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the `mail` command and consequently execute arbitrary code by leveraging improper interaction between the `escapeshellarg` function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

This issue really emphasises that it's worth avoiding the built-in PHP `mail()` function entirely.

### Patches
Fixed in 5.2.20

### Workarounds
Send via SMTP to localhost instead of calling the `mail()` function.

### References
https://nvd.nist.gov/vuln/detail/CVE-2016-10045
See also https://nvd.nist.gov/vuln/detail/CVE-2016-10033

### For more information
If you have any questions or comments about this advisory:
* Open a private issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)
references
0
reference_url http://openwall.com/lists/oss-security/2016/12/28/1
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url http://openwall.com/lists/oss-security/2016/12/28/1
1
reference_url http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html
2
reference_url http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
3
reference_url https://api.first.org/data/v1/epss?cve=CVE-2016-10045
reference_id
reference_type
scores
0
value 0.93368
scoring_system epss
scoring_elements 0.99811
published_at 2026-04-04T12:55:00Z
1
value 0.93368
scoring_system epss
scoring_elements 0.99814
published_at 2026-04-13T12:55:00Z
2
value 0.93368
scoring_system epss
scoring_elements 0.99813
published_at 2026-04-11T12:55:00Z
3
value 0.93368
scoring_system epss
scoring_elements 0.99812
published_at 2026-04-09T12:55:00Z
4
value 0.93368
scoring_system epss
scoring_elements 0.9981
published_at 2026-04-02T12:55:00Z
5
value 0.93368
scoring_system epss
scoring_elements 0.99815
published_at 2026-04-18T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2016-10045
4
reference_url https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html
5
reference_url http://seclists.org/fulldisclosure/2016/Dec/81
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url http://seclists.org/fulldisclosure/2016/Dec/81
6
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10045.yaml
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10045.yaml
7
reference_url https://github.com/PHPMailer/PHPMailer
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer
8
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20
9
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-4pc3-96mx-wwc8
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
2
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-4pc3-96mx-wwc8
10
reference_url https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities
11
reference_url https://nvd.nist.gov/vuln/detail/CVE-2016-10045
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2016-10045
12
reference_url https://www.exploit-db.com/exploits/40969
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/40969
13
reference_url https://www.exploit-db.com/exploits/40986
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/40986
14
reference_url https://www.exploit-db.com/exploits/42221
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/42221
15
reference_url http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
16
reference_url https://security.archlinux.org/ASA-201701-22
reference_id ASA-201701-22
reference_type
scores
url https://security.archlinux.org/ASA-201701-22
17
reference_url https://security.archlinux.org/AVG-142
reference_id AVG-142
reference_type
scores
0
value High
scoring_system archlinux
scoring_elements
url https://security.archlinux.org/AVG-142
18
reference_url https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html
reference_id CVE-2016-10045;CVE-2016-10033
reference_type exploit
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html
19
reference_url https://github.com/advisories/GHSA-4pc3-96mx-wwc8
reference_id GHSA-4pc3-96mx-wwc8
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-4pc3-96mx-wwc8
20
reference_url https://usn.ubuntu.com/5956-1/
reference_id USN-5956-1
reference_type
scores
url https://usn.ubuntu.com/5956-1/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@5.2.20
purl pkg:composer/phpmailer/phpmailer@5.2.20
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-f585-qf89-f7f3
3
vulnerability VCID-jca1-hyks-kud3
4
vulnerability VCID-ywsv-ddhg-b7es
5
vulnerability VCID-zju7-7wax-zfhz
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.20
aliases CVE-2016-10045, GHSA-4pc3-96mx-wwc8
risk_score 10.0
exploitability 2.0
weighted_severity 9.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-xrtk-1rmg-7uca
8
url VCID-ywsv-ddhg-b7es
vulnerability_id VCID-ywsv-ddhg-b7es
summary
Local File Disclosure
PHPMailer's `msgHTML` method applies transformations to an HTML document to make it usable as an email message body. One of the transformations is to convert relative image URLs into attachments using a script-provided base directory. If no base directory is provided, it resolves to `/`, meaning that relative image URLs get treated as absolute local file paths and added as attachments.
references
0
reference_url http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis
1
reference_url http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/
reference_id
reference_type
scores
url http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/
2
reference_url https://api.first.org/data/v1/epss?cve=CVE-2017-5223
reference_id
reference_type
scores
0
value 0.02922
scoring_system epss
scoring_elements 0.86413
published_at 2026-04-16T12:55:00Z
1
value 0.02922
scoring_system epss
scoring_elements 0.86397
published_at 2026-04-13T12:55:00Z
2
value 0.02922
scoring_system epss
scoring_elements 0.86342
published_at 2026-04-02T12:55:00Z
3
value 0.02922
scoring_system epss
scoring_elements 0.86418
published_at 2026-04-18T12:55:00Z
4
value 0.02922
scoring_system epss
scoring_elements 0.86402
published_at 2026-04-12T12:55:00Z
5
value 0.02922
scoring_system epss
scoring_elements 0.86404
published_at 2026-04-11T12:55:00Z
6
value 0.02922
scoring_system epss
scoring_elements 0.8639
published_at 2026-04-09T12:55:00Z
7
value 0.02922
scoring_system epss
scoring_elements 0.8638
published_at 2026-04-08T12:55:00Z
8
value 0.02922
scoring_system epss
scoring_elements 0.86362
published_at 2026-04-07T12:55:00Z
9
value 0.02922
scoring_system epss
scoring_elements 0.86332
published_at 2026-04-01T12:55:00Z
10
value 0.02922
scoring_system epss
scoring_elements 0.8636
published_at 2026-04-04T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2017-5223
3
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5223
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5223
4
reference_url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
reference_id
reference_type
scores
0
value 4
scoring_system cvssv2
scoring_elements AV:N/AC:L/Au:S/C:P/I:N/A:N
url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
5
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2017-5223.yaml
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2017-5223.yaml
6
reference_url https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md
7
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.22
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.22
8
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-4x5h-cr29-fhp6
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-4x5h-cr29-fhp6
9
reference_url https://www.exploit-db.com/exploits/43056
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://www.exploit-db.com/exploits/43056
10
reference_url https://www.exploit-db.com/exploits/43056/
reference_id
reference_type
scores
url https://www.exploit-db.com/exploits/43056/
11
reference_url http://www.securityfocus.com/bid/95328
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url http://www.securityfocus.com/bid/95328
12
reference_url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853232
reference_id 853232
reference_type
scores
url https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853232
13
reference_url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/43056.py
reference_id CVE-2017-5223
reference_type exploit
scores
url https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/webapps/43056.py
14
reference_url https://nvd.nist.gov/vuln/detail/CVE-2017-5223
reference_id CVE-2017-5223
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2017-5223
15
reference_url https://github.com/advisories/GHSA-4x5h-cr29-fhp6
reference_id GHSA-4x5h-cr29-fhp6
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-4x5h-cr29-fhp6
16
reference_url https://usn.ubuntu.com/5956-1/
reference_id USN-5956-1
reference_type
scores
url https://usn.ubuntu.com/5956-1/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@5.2.22
purl pkg:composer/phpmailer/phpmailer@5.2.22
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-f585-qf89-f7f3
3
vulnerability VCID-jca1-hyks-kud3
4
vulnerability VCID-zju7-7wax-zfhz
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.22
aliases CVE-2017-5223, GHSA-4x5h-cr29-fhp6
risk_score 10.0
exploitability 2.0
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-ywsv-ddhg-b7es
9
url VCID-zju7-7wax-zfhz
vulnerability_id VCID-zju7-7wax-zfhz
summary
XSS vulnerability in code example
The `code_generator.phps` example does not filter user input prior to output. This file is distributed with a `.phps` extension, so it it not normally executable unless it is explicitly renamed, so it is safe by default. There's also an undisclosed potential XSS vulnerability in the default exception handler (unused by default).
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2017-11503
reference_id
reference_type
scores
0
value 0.02226
scoring_system epss
scoring_elements 0.84507
published_at 2026-04-09T12:55:00Z
1
value 0.02226
scoring_system epss
scoring_elements 0.84537
published_at 2026-04-18T12:55:00Z
2
value 0.02226
scoring_system epss
scoring_elements 0.84516
published_at 2026-04-13T12:55:00Z
3
value 0.02226
scoring_system epss
scoring_elements 0.8452
published_at 2026-04-12T12:55:00Z
4
value 0.02226
scoring_system epss
scoring_elements 0.84525
published_at 2026-04-11T12:55:00Z
5
value 0.02226
scoring_system epss
scoring_elements 0.84501
published_at 2026-04-08T12:55:00Z
6
value 0.02226
scoring_system epss
scoring_elements 0.84443
published_at 2026-04-01T12:55:00Z
7
value 0.02226
scoring_system epss
scoring_elements 0.84458
published_at 2026-04-02T12:55:00Z
8
value 0.02226
scoring_system epss
scoring_elements 0.84478
published_at 2026-04-04T12:55:00Z
9
value 0.02226
scoring_system epss
scoring_elements 0.8448
published_at 2026-04-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2017-11503
1
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11503
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11503
2
reference_url https://cxsecurity.com/issue/WLB-2017060181
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://cxsecurity.com/issue/WLB-2017060181
3
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2017-11503.yaml
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2017-11503.yaml
4
reference_url https://github.com/PHPMailer/PHPMailer/commit/dbbc1397c41de56aa3a57c8188d19a345dea5c63
reference_id
reference_type
scores
url https://github.com/PHPMailer/PHPMailer/commit/dbbc1397c41de56aa3a57c8188d19a345dea5c63
5
reference_url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.24
6
reference_url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-58mj-pw57-4vm2
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-58mj-pw57-4vm2
7
reference_url https://nvd.nist.gov/vuln/detail/CVE-2017-11503
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2017-11503
8
reference_url https://packetstormsecurity.com/files/143138/phpmailer-xss.txt
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://packetstormsecurity.com/files/143138/phpmailer-xss.txt
9
reference_url http://www.securityfocus.com/bid/99293
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url http://www.securityfocus.com/bid/99293
10
reference_url http://www.securityfocus.com/bid/99293/
reference_id
reference_type
scores
url http://www.securityfocus.com/bid/99293/
11
reference_url http://www.securitytracker.com/id/1039026
reference_id
reference_type
scores
0
value 6.1
scoring_system cvssv3.1
scoring_elements CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url http://www.securitytracker.com/id/1039026
12
reference_url https://github.com/advisories/GHSA-58mj-pw57-4vm2
reference_id GHSA-58mj-pw57-4vm2
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-58mj-pw57-4vm2
13
reference_url https://usn.ubuntu.com/5956-1/
reference_id USN-5956-1
reference_type
scores
url https://usn.ubuntu.com/5956-1/
14
reference_url https://usn.ubuntu.com/5956-2/
reference_id USN-5956-2
reference_type
scores
url https://usn.ubuntu.com/5956-2/
fixed_packages
0
url pkg:composer/phpmailer/phpmailer@5.2.24
purl pkg:composer/phpmailer/phpmailer@5.2.24
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-16kp-5zpw-fbha
1
vulnerability VCID-44d3-4txm-cyc3
2
vulnerability VCID-f585-qf89-f7f3
3
vulnerability VCID-jca1-hyks-kud3
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.24
aliases CVE-2017-11503, GHSA-58mj-pw57-4vm2
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-zju7-7wax-zfhz
Fixing_vulnerabilities
Risk_score10.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.4