# GHSA-gff2-p6vm-3p8g: ZendFramework potential remote code execution in zend-mail via Sendmail adapter

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-07T20:47:30.000Z
- Modified: 2024-12-04T05:39:06.674Z
- Weaknesses: CWE-74

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- zendframework/zendframework (Packagist): from 2.0.0 before 2.4.11

## References

- <https://github.com/zendframework/zendframework/commit/7c1e89815f5a9c016f4b8088e59b07cb2bf99dc0> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2016-04.yaml> (web)
- <https://github.com/zendframework/zendframework> (package)
- <https://web.archive.org/web/20201107093523/https://framework.zend.com/security/advisory/ZF2016-04> (web)

## Sources

- GitHub Advisory Database: [GHSA-gff2-p6vm-3p8g](https://github.com/advisories/GHSA-gff2-p6vm-3p8g), CC-BY-4.0, modified 2024-12-04

---

Page: https://cve.day/GHSA-gff2-p6vm-3p8g · Whole record: https://cve.day/GHSA-gff2-p6vm-3p8g.json · Rebuilt by cve.day 2026-11-25T22:56:32.160Z
