{"items":[{"id":"NVI-00006239","kind":"vulnerability","title":"Zend-Mail remote code execution in zend-mail via Sendmail adapter","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-cxf7-m5g2-v594"],"plain_summary":"OSV carries this publisher advisory for zendframework/zend-mail, zendframework/zend-mail. 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 2.4.11 for zendframework/zend-mail. Confirm the publisher’s latest guidance.","source_ids":["sr-acd09b90cc3c69d282333341c7fb593f"],"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},{"summary":"The original advisory lists fixed boundaries 2.7.2 for zendframework/zend-mail. Confirm the publisher’s latest guidance.","source_ids":["sr-acd09b90cc3c69d282333341c7fb593f"],"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-acd09b90cc3c69d282333341c7fb593f","url":"https://github.com/advisories/GHSA-cxf7-m5g2-v594","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-cxf7-m5g2-v594","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.706Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-acd09b90cc3c69d282333341c7fb593f"],"technology":"zendframework/zend-mail","known_exclusions":[],"conditions_summary":"When using the zend-mail component to send email via the `Zend\\Mail\\Transport\\Sendmail` transport, a malicious user may be able to inject arbitrary parameters to the system sendmail program. The attack is performed by providing additional quote characters within an address; when unsanitized, they can be interpreted as additional command line arguments, leading to the vulnerability.\n\nThe following example demonstrates injecting additional parameters to the sendmail binary via the From address:\n```\nuse Zend\\Mail;\n\n$mail = new Mail\\Message();\n$mail->setBody('This is the text of the email.');\n\n// inject additional parameters to sendmail command line\n$mail->setFrom('\"AAA\\\" params injection\"@domain', 'Sender\\'s name');\n\n$mail->addTo('hacker@localhost', 'Name of recipient');\n$mail->setSubject('TestSubject');\n\n$transport = new Mail\\Transport\\Sendmail();\n$transport->send($mail);\n```\nThe attack works because zend-mail filters the email addresses using the RFC 3696 specification, where the string \"AAA\\\" params injection\"@domain is considered a valid address. This validation is provided using the zend-validator component with the following parameters:\n```\nZend\\Validator\\EmailAddress(\n    Zend\\","public_affected_ranges":["ECOSYSTEM: introduced 2.0.0; fixed 2.4.11"]},{"certainty":"source_listed","source_ids":["sr-acd09b90cc3c69d282333341c7fb593f"],"technology":"zendframework/zend-mail","known_exclusions":[],"conditions_summary":"When using the zend-mail component to send email via the `Zend\\Mail\\Transport\\Sendmail` transport, a malicious user may be able to inject arbitrary parameters to the system sendmail program. The attack is performed by providing additional quote characters within an address; when unsanitized, they can be interpreted as additional command line arguments, leading to the vulnerability.\n\nThe following example demonstrates injecting additional parameters to the sendmail binary via the From address:\n```\nuse Zend\\Mail;\n\n$mail = new Mail\\Message();\n$mail->setBody('This is the text of the email.');\n\n// inject additional parameters to sendmail command line\n$mail->setFrom('\"AAA\\\" params injection\"@domain', 'Sender\\'s name');\n\n$mail->addTo('hacker@localhost', 'Name of recipient');\n$mail->setSubject('TestSubject');\n\n$transport = new Mail\\Transport\\Sendmail();\n$transport->send($mail);\n```\nThe attack works because zend-mail filters the email addresses using the RFC 3696 specification, where the string \"AAA\\\" params injection\"@domain is considered a valid address. This validation is provided using the zend-validator component with the following parameters:\n```\nZend\\Validator\\EmailAddress(\n    Zend\\","public_affected_ranges":["ECOSYSTEM: introduced 2.5.0; fixed 2.7.2"]}],"null_published_at":"2026-10-31T22:13:05.877Z","source_updated_at":"2024-12-04T05:38:19.263Z","source_disclosed_at":"2024-06-07T21:19:22.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:42:10.706Z"}],"next_cursor":null,"snapshot_revision":"42594"}