Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/33434?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33434?format=api", "vulnerability_id": "VCID-xrtk-1rmg-7uca", "summary": "Remote code execution in PHPMailer\n### Impact\nThe `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.\n\nThis issue really emphasises that it's worth avoiding the built-in PHP `mail()` function entirely.\n\n### Patches\nFixed in 5.2.20\n\n### Workarounds\nSend via SMTP to localhost instead of calling the `mail()` function.\n\n### References\nhttps://nvd.nist.gov/vuln/detail/CVE-2016-10045\nSee also https://nvd.nist.gov/vuln/detail/CVE-2016-10033\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a private issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)", "aliases": [ { "alias": "CVE-2016-10045" }, { "alias": "GHSA-4pc3-96mx-wwc8" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/373083?format=api", "purl": "pkg:alpm/archlinux/wordpress@4.7.1-1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/wordpress@4.7.1-1" }, { "url": "http://public2.vulnerablecode.io/api/packages/522832?format=api", "purl": "pkg:apk/alpine/php5-phpmailer@5.2.0-r1?arch=x86&distroversion=v3.4&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5-phpmailer@5.2.0-r1%3Farch=x86&distroversion=v3.4&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/522833?format=api", "purl": "pkg:apk/alpine/php5-phpmailer@5.2.0-r1?arch=x86_64&distroversion=v3.4&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5-phpmailer@5.2.0-r1%3Farch=x86_64&distroversion=v3.4&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/522831?format=api", "purl": "pkg:apk/alpine/php5-phpmailer@5.2.0-r1?arch=armhf&distroversion=v3.4&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5-phpmailer@5.2.0-r1%3Farch=armhf&distroversion=v3.4&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/498942?format=api", "purl": "pkg:apk/alpine/php5-phpmailer@5.2.4-r1?arch=aarch64&distroversion=v3.5&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5-phpmailer@5.2.4-r1%3Farch=aarch64&distroversion=v3.5&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/498943?format=api", "purl": "pkg:apk/alpine/php5-phpmailer@5.2.4-r1?arch=armhf&distroversion=v3.5&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5-phpmailer@5.2.4-r1%3Farch=armhf&distroversion=v3.5&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/498944?format=api", "purl": "pkg:apk/alpine/php5-phpmailer@5.2.4-r1?arch=x86&distroversion=v3.5&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5-phpmailer@5.2.4-r1%3Farch=x86&distroversion=v3.5&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/498945?format=api", "purl": "pkg:apk/alpine/php5-phpmailer@5.2.4-r1?arch=x86_64&distroversion=v3.5&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5-phpmailer@5.2.4-r1%3Farch=x86_64&distroversion=v3.5&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/463065?format=api", "purl": "pkg:apk/alpine/php-phpmailer@5.2.4-r0?arch=armhf&distroversion=v3.2&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php-phpmailer@5.2.4-r0%3Farch=armhf&distroversion=v3.2&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/463066?format=api", "purl": "pkg:apk/alpine/php-phpmailer@5.2.4-r0?arch=x86&distroversion=v3.2&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php-phpmailer@5.2.4-r0%3Farch=x86&distroversion=v3.2&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/463067?format=api", "purl": "pkg:apk/alpine/php-phpmailer@5.2.4-r0?arch=x86_64&distroversion=v3.2&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php-phpmailer@5.2.4-r0%3Farch=x86_64&distroversion=v3.2&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/532180?format=api", "purl": "pkg:apk/alpine/php-phpmailer@5.2.4-r0?arch=armhf&distroversion=v3.3&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php-phpmailer@5.2.4-r0%3Farch=armhf&distroversion=v3.3&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/532181?format=api", "purl": "pkg:apk/alpine/php-phpmailer@5.2.4-r0?arch=x86&distroversion=v3.3&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php-phpmailer@5.2.4-r0%3Farch=x86&distroversion=v3.3&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/532182?format=api", "purl": "pkg:apk/alpine/php-phpmailer@5.2.4-r0?arch=x86_64&distroversion=v3.3&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php-phpmailer@5.2.4-r0%3Farch=x86_64&distroversion=v3.3&reponame=main" }, { "url": "http://public2.vulnerablecode.io/api/packages/73234?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.20", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.20" }, { "url": "http://public2.vulnerablecode.io/api/packages/928214?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@0?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@0%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/928209?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.2.0-2?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-jca1-hyks-kud3" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.2.0-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/928207?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.6.3-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.6.3-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/928210?format=api", "purl": "pkg:deb/debian/libphp-phpmailer@6.9.3-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libphp-phpmailer@6.9.3-1%3Fdistro=trixie" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/373082?format=api", "purl": "pkg:alpm/archlinux/wordpress@4.7-1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-198e-9yps-nqfz" }, { "vulnerability": "VCID-1axp-38yu-wua1" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-cuw7-7fmc-xbc1" }, { "vulnerability": "VCID-kpem-j9we-vufs" }, { "vulnerability": "VCID-sany-su2d-73cn" }, { "vulnerability": "VCID-trn4-a55k-sqad" }, { "vulnerability": "VCID-vj6y-1qup-jubg" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/wordpress@4.7-1" }, { "url": "http://public2.vulnerablecode.io/api/packages/24425?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.0.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.0.0" }, { "url": "http://public2.vulnerablecode.io/api/packages/153733?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-n13m-y4ks-euep" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/153734?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.4", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-n13m-y4ks-euep" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.4" }, { "url": "http://public2.vulnerablecode.io/api/packages/153735?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.5", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-n13m-y4ks-euep" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.5" }, { "url": "http://public2.vulnerablecode.io/api/packages/153736?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.6", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-n13m-y4ks-euep" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.6" }, { "url": "http://public2.vulnerablecode.io/api/packages/153737?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.7", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-n13m-y4ks-euep" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.7" }, { "url": "http://public2.vulnerablecode.io/api/packages/153738?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.8", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-n13m-y4ks-euep" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.8" }, { "url": "http://public2.vulnerablecode.io/api/packages/153739?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.9", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-n13m-y4ks-euep" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.9" }, { "url": "http://public2.vulnerablecode.io/api/packages/54887?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.10", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.10" }, { "url": "http://public2.vulnerablecode.io/api/packages/153740?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.11", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.11" }, { "url": "http://public2.vulnerablecode.io/api/packages/153741?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.12", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.12" }, { "url": "http://public2.vulnerablecode.io/api/packages/153742?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.13", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-7kvh-8w1t-2kej" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.13" }, { "url": "http://public2.vulnerablecode.io/api/packages/21470?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.14", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.14" }, { "url": "http://public2.vulnerablecode.io/api/packages/159797?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.15", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.15" }, { "url": "http://public2.vulnerablecode.io/api/packages/159798?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.16", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.16" }, { "url": "http://public2.vulnerablecode.io/api/packages/159799?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.17", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-cq4m-3q7u-cbg3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.17" }, { "url": "http://public2.vulnerablecode.io/api/packages/73211?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.18", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.18" }, { "url": "http://public2.vulnerablecode.io/api/packages/159800?format=api", "purl": "pkg:composer/phpmailer/phpmailer@5.2.19", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-16kp-5zpw-fbha" }, { "vulnerability": "VCID-44d3-4txm-cyc3" }, { "vulnerability": "VCID-f585-qf89-f7f3" }, { "vulnerability": "VCID-jca1-hyks-kud3" }, { "vulnerability": "VCID-xrtk-1rmg-7uca" }, { "vulnerability": "VCID-ywsv-ddhg-b7es" }, { "vulnerability": "VCID-zju7-7wax-zfhz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmailer/phpmailer@5.2.19" } ], "references": [ { "reference_url": "http://openwall.com/lists/oss-security/2016/12/28/1", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://openwall.com/lists/oss-security/2016/12/28/1" }, { "reference_url": "http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html" }, { "reference_url": "http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10045", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99814", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99813", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99812", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99817", "published_at": "2026-04-26T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99816", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99815", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.9981", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99811", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.99819", "published_at": "2026-05-12T12:55:00Z" }, { "value": "0.93368", "scoring_system": "epss", "scoring_elements": "0.9982", "published_at": "2026-05-14T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10045" }, { "reference_url": "https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html" }, { "reference_url": "http://seclists.org/fulldisclosure/2016/Dec/81", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://seclists.org/fulldisclosure/2016/Dec/81" }, { "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10045.yaml", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2016-10045.yaml" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPMailer/PHPMailer" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-4pc3-96mx-wwc8", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/PHPMailer/PHPMailer/security/advisories/GHSA-4pc3-96mx-wwc8" }, { "reference_url": "https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "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" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10045", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10045" }, { "reference_url": "https://www.exploit-db.com/exploits/40969", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.exploit-db.com/exploits/40969" }, { "reference_url": "https://www.exploit-db.com/exploits/40986", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.exploit-db.com/exploits/40986" }, { "reference_url": "https://www.exploit-db.com/exploits/42221", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.exploit-db.com/exploits/42221" }, { "reference_url": "http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection", "reference_id": "", "reference_type": "", "scores": [ { "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" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection" }, { "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" }, { "reference_url": "https://security.archlinux.org/AVG-142", "reference_id": "AVG-142", "reference_type": "", "scores": [ { "value": "High", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-142" }, { "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": [ { "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" }, { "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" }, { "reference_url": "https://github.com/advisories/GHSA-4pc3-96mx-wwc8", "reference_id": "GHSA-4pc3-96mx-wwc8", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-4pc3-96mx-wwc8" }, { "reference_url": "https://usn.ubuntu.com/5956-1/", "reference_id": "USN-5956-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/5956-1/" } ], "weaknesses": [ { "cwe_id": 77, "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')", "description": "The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [ { "date_added": null, "description": "PHPMailer versions up to and including 5.2.19 are affected by a\n vulnerability which can be leveraged by an attacker to write a file with\n partially controlled contents to an arbitrary location through injection\n of arguments that are passed to the sendmail binary. This module\n writes a payload to the web root of the webserver before then executing\n it with an HTTP request. The user running PHPMailer must have write\n access to the specified WEB_ROOT directory and successful exploitation\n can take a few minutes.", "required_action": null, "due_date": null, "notes": "Stability:\n - crash-safe\nSideEffects:\n - artifacts-on-disk\n - ioc-in-logs\nReliability:\n - repeatable-session\n", "known_ransomware_campaign_use": false, "source_date_published": "2016-12-26", "exploit_type": null, "platform": "PHP", "source_date_updated": null, "data_source": "Metasploit", "source_url": "https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/multi/http/phpmailer_arg_injection.rb" }, { "date_added": "2017-06-21", "description": "PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution", "required_action": null, "due_date": null, "notes": null, "known_ransomware_campaign_use": false, "source_date_published": "2017-06-21", "exploit_type": "webapps", "platform": "php", "source_date_updated": "2017-08-03", "data_source": "Exploit-DB", "source_url": "" } ], "severity_range_score": "7.0 - 10.0", "exploitability": "2.0", "weighted_severity": "9.0", "risk_score": 10.0, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xrtk-1rmg-7uca" }