netty — security advisory
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.
- Products
- netty
- Affected versions
- 1:4.1.33-1, 1:4.1.33-2, 1:4.1.33-3, 1:4.1.45-1, 1:4.1.45-1ubuntu0.1~esm1, 1:4.1.45-1ubuntu0.1~esm2, 1:4.1.48-10, 1:4.1.48-11, 1:4.1.48-12, 1:4.1.48-13, 1:4.1.48-14, 1:4.1.48-16, 1:4.1.48-16ubuntu0.1~esm2, 1:4.1.48-16ubuntu1, 1:4.1.48-4, 1:4.1.48-4+deb11u1build0.22.04.1, 1:4.1.48-4+deb11u2build0.22.04.1, 1:4.1.48-4+deb11u2ubuntu0.1~esm1, 1:4.1.48-7, 1:4.1.48-8, 1:4.1.48-9, 1:4.1.48-9ubuntu0.1~esm1, 1:4.1.7-4, 1:4.1.7-4ubuntu0.1, 1:4.1.7-4ubuntu0.1+esm1, 1:4.1.7-4ubuntu0.1+esm2, 1:4.1.7-4ubuntu0.1+esm3, 1:4.1.7-4ubuntu0.1~esm1
- Fixed versions
- 1:4.1.45-1ubuntu0.1~esm3, 1:4.1.48-10ubuntu0.25.10.1, 1:4.1.48-4+deb11u2ubuntu0.1~esm2, 1:4.1.48-9ubuntu0.1~esm2, 1:4.1.7-4ubuntu0.1+esm4
- CVEs
- CVE-2025-59419
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:34 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2025-59419
netty
Fixed versions: 1:4.1.7-4ubuntu0.1+esm4
netty
Fixed versions: 1:4.1.45-1ubuntu0.1~esm3
netty
Fixed versions: 1:4.1.48-4+deb11u2ubuntu0.1~esm2
netty
Fixed versions: 1:4.1.48-9ubuntu0.1~esm2
netty
Fixed versions: 1:4.1.48-10ubuntu0.25.10.1
netty
Fixed versions: Not specified
netty
Fixed versions: Not specified
Complete source record
{
"id": "8a18ef96ca7519cdec14a858d4c4bcfb240a5050299a4bb46890694c42effd09",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-59419",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-59419",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2025-59419",
"products": [
{
"name": {
"value": "netty",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.1.7-4ubuntu0.1+esm4",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1:4.1.7-4",
"evidence": "/affected/0/versions"
},
{
"value": "1:4.1.7-4ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
},
{
"value": "1:4.1.7-4ubuntu0.1",
"evidence": "/affected/0/versions"
},
{
"value": "1:4.1.7-4ubuntu0.1+esm1",
"evidence": "/affected/0/versions"
},
{
"value": "1:4.1.7-4ubuntu0.1+esm2",
"evidence": "/affected/0/versions"
},
{
"value": "1:4.1.7-4ubuntu0.1+esm3",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "netty",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.1.45-1ubuntu0.1~esm3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "1:4.1.33-1",
"evidence": "/affected/1/versions"
},
{
"value": "1:4.1.33-2",
"evidence": "/affected/1/versions"
},
{
"value": "1:4.1.33-3",
"evidence": "/affected/1/versions"
},
{
"value": "1:4.1.45-1",
"evidence": "/affected/1/versions"
},
{
"value": "1:4.1.45-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
},
{
"value": "1:4.1.45-1ubuntu0.1~esm2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "netty",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.1.48-4+deb11u2ubuntu0.1~esm2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1:4.1.48-4",
"evidence": "/affected/2/versions"
},
{
"value": "1:4.1.48-4+deb11u1build0.22.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "1:4.1.48-4+deb11u2build0.22.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "1:4.1.48-4+deb11u2ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "netty",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.1.48-9ubuntu0.1~esm2",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": [
{
"value": "1:4.1.48-7",
"evidence": "/affected/3/versions"
},
{
"value": "1:4.1.48-8",
"evidence": "/affected/3/versions"
},
{
"value": "1:4.1.48-9",
"evidence": "/affected/3/versions"
},
{
"value": "1:4.1.48-9ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "netty",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:4.1.48-10ubuntu0.25.10.1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": [
{
"value": "1:4.1.48-10",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "netty",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:4.1.48-16",
"evidence": "/affected/5/versions"
},
{
"value": "1:4.1.48-16ubuntu1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "netty",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1:4.1.48-10",
"evidence": "/affected/6/versions"
},
{
"value": "1:4.1.48-11",
"evidence": "/affected/6/versions"
},
{
"value": "1:4.1.48-12",
"evidence": "/affected/6/versions"
},
{
"value": "1:4.1.48-13",
"evidence": "/affected/6/versions"
},
{
"value": "1:4.1.48-14",
"evidence": "/affected/6/versions"
},
{
"value": "1:4.1.48-16",
"evidence": "/affected/6/versions"
},
{
"value": "1:4.1.48-16ubuntu0.1~esm2",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-59419",
"aliases": [
"UBUNTU-CVE-2025-59419"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.1.7-4ubuntu0.1+esm4"
}
]
}
],
"package": {
"name": "netty",
"purl": "pkg:deb/ubuntu/netty?arch=source&distro=esm-apps%2Fbionic",
"ecosystem": "Ubuntu:Pro:18.04:LTS"
},
"versions": [
"1:4.1.7-4",
"1:4.1.7-4ubuntu0.1~esm1",
"1:4.1.7-4ubuntu0.1",
"1:4.1.7-4ubuntu0.1+esm1",
"1:4.1.7-4ubuntu0.1+esm2",
"1:4.1.7-4ubuntu0.1+esm3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59419.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnetty-java",
"binary_version": "1:4.1.7-4ubuntu0.1+esm4"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.1.45-1ubuntu0.1~esm3"
}
]
}
],
"package": {
"name": "netty",
"purl": "pkg:deb/ubuntu/netty?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1:4.1.33-1",
"1:4.1.33-2",
"1:4.1.33-3",
"1:4.1.45-1",
"1:4.1.45-1ubuntu0.1~esm1",
"1:4.1.45-1ubuntu0.1~esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59419.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnetty-java",
"binary_version": "1:4.1.45-1ubuntu0.1~esm3"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.1.48-4+deb11u2ubuntu0.1~esm2"
}
]
}
],
"package": {
"name": "netty",
"purl": "pkg:deb/ubuntu/netty?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"1:4.1.48-4",
"1:4.1.48-4+deb11u1build0.22.04.1",
"1:4.1.48-4+deb11u2build0.22.04.1",
"1:4.1.48-4+deb11u2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59419.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnetty-java",
"binary_version": "1:4.1.48-4+deb11u2ubuntu0.1~esm2"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.1.48-9ubuntu0.1~esm2"
}
]
}
],
"package": {
"name": "netty",
"purl": "pkg:deb/ubuntu/netty?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1:4.1.48-7",
"1:4.1.48-8",
"1:4.1.48-9",
"1:4.1.48-9ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59419.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnetty-java",
"binary_version": "1:4.1.48-9ubuntu0.1~esm2"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.1.48-10ubuntu0.25.10.1"
}
]
}
],
"package": {
"name": "netty",
"purl": "pkg:deb/ubuntu/netty?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1:4.1.48-10"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59419.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnetty-java",
"binary_version": "1:4.1.48-10ubuntu0.25.10.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "netty",
"purl": "pkg:deb/ubuntu/netty?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1:4.1.48-16",
"1:4.1.48-16ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59419.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnetty-buffer-java",
"binary_version": "1:4.1.48-16ubuntu1"
},
{
"binary_name": "libnetty-common-java",
"binary_version": "1:4.1.48-16ubuntu1"
},
{
"binary_name": "libnetty-java",
"binary_version": "1:4.1.48-16ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "netty",
"purl": "pkg:deb/ubuntu/netty?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"1:4.1.48-10",
"1:4.1.48-11",
"1:4.1.48-12",
"1:4.1.48-13",
"1:4.1.48-14",
"1:4.1.48-16",
"1:4.1.48-16ubuntu0.1~esm2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59419.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libnetty-buffer-java",
"binary_version": "1:4.1.48-16ubuntu0.1~esm2"
},
{
"binary_name": "libnetty-common-java",
"binary_version": "1:4.1.48-16ubuntu0.1~esm2"
},
{
"binary_name": "libnetty-java",
"binary_version": "1:4.1.48-16ubuntu0.1~esm2"
}
]
}
}
],
"modified": "2026-10-17T12:57:09.735671389Z",
"provider": "osv",
"upstream": [
"CVE-2025-59419"
],
"references": [
"https://ubuntu.com/security/CVE-2025-59419",
"https://www.cve.org/CVERecord?id=CVE-2025-59419",
"https://github.com/netty/netty/security/advisories/GHSA-jq43-27x9-3v86",
"https://github.com/netty/netty/commit/1782e8c2060a244c4d4e6f9d9112d5517ca05120",
"https://github.com/netty/netty/commit/2b3fddd3339cde1601f622b9ce5e54c39f24c3f9"
]
},
"related_cves": [
{
"value": "CVE-2025-59419",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356818,
"published_at": "2025-10-15T16:15:00+00:00"
}