VDB

CVE-2025-59419

CVE-2025-59419 PUBLISHED CVSS 5.5 MEDIUM

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

Reported by github_m · Published October 15, 2025

netty-codec-smtp is fixed in 4.2.7.Final and 4.1.128.Final (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
io.netty:netty-codec-smtpMaven Central4.2.7.Final, 4.1.128.Final
management-api-for-apache-cassandra-5.0Chainguard0.1.108-r2
hadoop-fips-3.5Chainguard3.5.0-r12
management-api-for-apache-cassandra-4.1Chainguard0.1.108-r1
pinotChainguard1.5.0-r19
thingsboardChainguard4.2.1-r1
tinkerpopChainguard3.8.1-r2
seataChainguard2.5.0-r1
trinoChainguard477-r2
thingsboardWolfi4.2.1-r1
celeborn-0.5Chainguard0.5.4-r8
management-api-for-apache-cassandra-5.0Wolfi0.1.108-r2

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 4.0
5.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Affected products

VendorProductVersions
nettynetty< 4.2.7.Final, >= 4.2.0.Alpha1, < 4.1.128.Final
chainguardmanagement-api-for-apache-cassandra-5.00
chainguardhadoop-fips-3.50
chainguardmanagement-api-for-apache-cassandra-4.10
chainguardpinot0
chainguardthingsboard0
chainguardtinkerpop0
chainguardseata0
chainguardtrino0
wolfithingsboard0
chainguardceleborn-0.50
wolfimanagement-api-for-apache-cassandra-5.00
chainguardapache-hop0
chainguardmanagement-api-for-apache-cassandra-4.00
Mavenio.netty:netty-codec-smtp0, 4.2.0.Alpha1
nettynetty4.2.0.Alpha1, 0
wolfitez0
chainguardpinot-fips0
wolfimanagement-api-for-apache-cassandra-4.10
wolficeleborn-0.50

…and 6 more

Timeline

  • Oct 15, 2025 CVE Published
  • Oct 15, 2025 Coalition ESS Score (4 in total, the first dated here)
  • Oct 16, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 17, 2025 CVE Updated
  • Dec 8, 2025 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-59419
vulnetix vdb fixes CVE-2025-59419

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-59419/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›