{"items":[{"id":"NVI-00007499","kind":"vulnerability","title":"Remote code execution in PHPMailer","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-4pc3-96mx-wwc8","CVE-2016-10045"],"plain_summary":"OSV carries this publisher advisory for phpmailer/phpmailer. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 5.2.20 for phpmailer/phpmailer. Confirm the publisher’s latest guidance.","source_ids":["sr-de04ce56f334704c7462dedd1eb01b91"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-de04ce56f334704c7462dedd1eb01b91","url":"https://github.com/advisories/GHSA-4pc3-96mx-wwc8","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-4pc3-96mx-wwc8","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.671Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-de04ce56f334704c7462dedd1eb01b91"],"technology":"phpmailer/phpmailer","known_exclusions":[],"conditions_summary":"### 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&#39;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","public_affected_ranges":["ECOSYSTEM: introduced 5.0.0; fixed 5.2.20"]}],"null_published_at":"2026-10-31T22:13:18.622Z","source_updated_at":"2025-04-14T22:27:44.787Z","source_disclosed_at":"2020-03-05T22:09:14.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:49.671Z"}],"next_cursor":null,"snapshot_revision":"42594"}