Description
Netty is an asynchronous, event-driven network application framework. In versions prior to 4.1.128.Final and 4.2.7.Final, the SMTP codec in Netty contains an SMTP command injection vulnerability due to insufficient input validation for Carriage Return (\r) and Line Feed (\n) characters in user-supplied parameters. The vulnerability exists in io.netty.handler.codec.smtp.DefaultSmtpRequest, where parameters are directly concatenated into the SMTP command string without sanitization. When methods such as SmtpRequests.rcpt(recipient) are called with a malicious string containing CRLF sequences, attackers can inject arbitrary SMTP commands. Because the injected commands are sent from the server's trusted IP address, resulting emails will likely pass SPF and DKIM authentication checks, making them appear legitimate. This allows remote attackers who can control SMTP command parameters (such as email recipients) to forge arbitrary emails from the trusted server, potentially impersonating executives and forging high-stakes corporate communications. This issue has been patched in versions 4.1.129.Final and 4.2.8.Final. No known workarounds exist.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| netty | netty | < 4.2.7.Final, >= 4.2.0.Alpha1, < 4.1.128.Final | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | netty | 1:4.1.48-11 | — |
| Debian 13 | netty | 1:4.1.48-10+deb13u1 | DSA-6160-1 |
| Debian 12 | netty | 1:4.1.48-7+deb12u2 | DSA-6160-1 |
| Debian 11 | netty | 1:4.1.48-4+deb11u3 | DLA-4519-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | netty | No fix yet | — |
| Ubuntu 25.10 | netty | 1:4.1.48-10ubuntu0.25.10.1 | USN-7843-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | netty | No fix yet | — |
| Ubuntu Pro 24.04 LTS | netty | 1:4.1.48-9ubuntu0.1~esm2 | USN-7843-1 |
| Ubuntu Pro 22.04 LTS | netty | 1:4.1.48-4+deb11u2ubuntu0.1~esm2 | USN-7843-1 |
| Ubuntu Pro 20.04 LTS | netty | 1:4.1.45-1ubuntu0.1~esm3 | USN-7843-1 |
| Ubuntu Pro 18.04 LTS | netty | 1:4.1.7-4ubuntu0.1+esm4 | USN-7843-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | netty | 4.1.128-150200.4.37.1 | SUSE-SU-2025:4087-1 |
| SLES 15 SP7 | netty-tcnative | 2.0.74-150200.3.33.1 | SUSE-SU-2025:4087-1 |
| SLES 15 SP6 | netty | 4.1.128-150200.4.37.1 | SUSE-SU-2025:4087-1 |
| SLES 15 SP6 | netty-tcnative | 2.0.74-150200.3.33.1 | SUSE-SU-2025:4087-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | netty | 4.1.128-1.1 | openSUSE-SU-2025:15667-1 |
| openSUSE Leap 15.6 | netty | 4.1.128-150200.4.37.1 | SUSE-SU-2025:4087-1 |
| openSUSE Leap 15.6 | netty-tcnative | 2.0.74-150200.3.33.1 | SUSE-SU-2025:4087-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | celeborn-0.6 | 0.6.3-r7 | — |
| Wolfi rolling | management-api-for-apache-cassandra-5.0 +1 | 0.1.108-r2 | — |
| Wolfi rolling | tez | 0.10.5-r6 | — |
| Wolfi rolling | thingsboard +4 | 4.2.1-r1 | — |
| Wolfi rolling | trino +58 | 477-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | io.netty:netty-codec-smtp | >= 4.2.0.Alpha1, < 4.2.7.Final | 4.2.7.Final | GHSA-jq43-27x9-3v86 |
| Maven | io.netty:netty-codec-smtp | < 4.1.128.Final | 4.1.128.Final | GHSA-jq43-27x9-3v86 |
Advisories 8
- USN-7843-1 netty vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-4519-1 netty - security update Debian Security (DSA / DLA) · Mar 31, 2026
- DSA-6160-1 netty - security update Debian Security (DSA / DLA) · Mar 23, 2026
- openSUSE-SU-2025:15667-1 netty-4.1.128-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:4087-1 Security update for netty, netty-tcnative SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2026-0021 Kwetsbaarheden verholpen in Oracle Database Server producten NCSC-NL (Netherlands) · Jan 21, 2026
- WID-SEC-2026-0104 Absolute Secure Access: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 18, 2026
- WID-SEC-2026-0057 NetApp ActiveIQ Unified Manager: Schwachstelle ermöglicht Manipulation von Daten BSI CERT-Bund (WID) · Jan 11, 2026