CVEfocus › CVE database › CVE-2025-59419

CVE-2025-59419Netty netty-codec-smtp SMTP Command Injection Vulnerability Allowing Email Forgery

CVSS 5.5 MediumEPSS 2.1% (higher than 82% of CVEs)Published 2025-10-15Updated 2025-10-17Assigner: GitHub_M

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.

CWE-93

What to do

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
6Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10nettyFix pendingUBUNTU-CVE-2025-59419
Ubuntu 26.04nettyFix pendingUBUNTU-CVE-2025-59419
Ubuntu 25.10nettyFixed1:4.1.48-10ubuntu0.25.10.1UBUNTU-CVE-2025-59419
Ubuntu 24.04nettyFix pending1:4.1.48-9ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-59419
Ubuntu 22.04nettyFix pending1:4.1.48-4+deb11u2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-59419
Ubuntu 20.04nettyFix pending1:4.1.45-1ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2025-59419
Ubuntu 18.04nettyFix pending1:4.1.7-4ubuntu0.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-59419
Debian 14nettyFixed1:4.1.48-11DEBIAN-CVE-2025-59419
Debian 13nettyFixed1:4.1.48-10+deb13u1DEBIAN-CVE-2025-59419
Debian 12nettyFixed1:4.1.48-7+deb12u2DEBIAN-CVE-2025-59419
Maven libraryio.netty:netty-codec-smtpFixed4.1.128.FinalGHSA-jq43-27x9-3v86

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.