Description
Email::Sender::Transport::Sendmail versions before 2.602 for Perl allow arbitrary command execution on Windows sending a message whose envelope address reaches the shell in _sendmail_pipe.
On MSWin32 the envelope sender and every recipient go into a single command string, which open() passes to a shell. Every other platform gets the list form, which runs sendmail directly. When the caller supplies no envelope, Email::Sender::Simple takes the recipients from the To and Cc headers and the sender from the From header.
An attacker who controls one of those header addresses runs commands as the sending process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Email-Sender | < 2.602 | 2.602 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libemail-sender-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libemail-sender-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libemail-sender-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libemail-sender-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libemail-sender-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libemail-sender-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libemail-sender-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Email-Sender | 2.603.0-1.1 | openSUSE-SU-2026:12466-1 |
Advisories 1
- openSUSE-SU-2026:12466-1 perl-Email-Sender-2.603.0-1.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026