{"answers":{"affected":"4 open source packages ship an affected version, including io.netty:netty-codec-smtp.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59419 exists.","fix":"Upgrade io.netty:netty-codec-smtp to a fixed version for your release line: 4.1.128.Final or 4.2.7.Final.","what":"CVE-2025-59419 is a medium-severity command injection vulnerability in netty, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-59419 and fix it if it is affected.\n\nWhat it is: CVE-2025-59419 is a medium-severity command injection vulnerability in netty, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59419 exists.\n\nAffected packages and fixed versions:\n- io.netty:netty-codec-smtp (Maven): affected all versions; fixed in 4.1.128.Final\n- io.netty:netty-codec-smtp (Maven): affected all versions; fixed in 4.1.128.Final\n- io.netty:netty-codec-smtp (Maven): affected from 4.2.0.Alpha1; fixed in 4.2.7.Final\n- io.netty:netty-codec-smtp (Maven): affected from 4.2.0.Alpha1; fixed in 4.2.7.Final\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-59419/ (Markdown: https://insights.sbomify.com/CVE-2025-59419/index.md)","id":"CVE-2025-59419","markdown":"https://insights.sbomify.com/CVE-2025-59419/index.md","name":"CVE-2025-59419","record":{"aliases":["CLEANSTART-2026-FZ71695","CLEANSTART-2026-MB73363","DEBIAN-CVE-2025-59419","GHSA-jq43-27x9-3v86","MINI-499w-vfx7-7cg6","MINI-4ww5-wq95-r878","MINI-gmhh-42gg-vq92","OESA-2025-2526","OESA-2025-2527","OESA-2025-2528","OESA-2025-2529","OESA-2025-2530","OESA-2025-2546","RHLW-2026-fb860419f051aedd","ROOT-APP-MAVEN-CVE-2025-59419","SUSE-SU-2025:4087-1","UBUNTU-CVE-2025-59419","USN-7843-1","openSUSE-SU-2025:15667-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java network framework","requires_auth":"none","summary":"Attackers can inject SMTP commands via CRLF characters to forge emails from trusted servers, bypassing SPF/DKIM checks.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"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.","ecosystems":["Maven","SUSE:Linux Enterprise Module for Development Tools 15 SP6","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Module for Package Hub 15 SP7","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Netty netty-codec-smtp SMTP Command Injection Vulnerability Allowing Email Forgery","id":"CVE-2025-59419","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":11,"n_references":2,"next":{"headline":"Authlib: JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)","id":"CVE-2025-59420"},"packages":[{"ecosystem":"Maven","fixed":["4.1.128.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-smtp","purl":null,"source":"GHSA-jq43-27x9-3v86"},{"ecosystem":"Maven","fixed":["4.1.128.Final"],"introduced":["0"],"last_affected":[],"package":"io.netty:netty-codec-smtp","purl":"pkg:maven/io.netty/netty-codec-smtp","source":"GHSA-jq43-27x9-3v86"},{"ecosystem":"Maven","fixed":["4.2.7.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-smtp","purl":null,"source":"GHSA-jq43-27x9-3v86"},{"ecosystem":"Maven","fixed":["4.2.7.Final"],"introduced":["4.2.0.Alpha1"],"last_affected":[],"package":"io.netty:netty-codec-smtp","purl":"pkg:maven/io.netty/netty-codec-smtp","source":"GHSA-jq43-27x9-3v86"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["2.0.74-150200.3.33.1"],"introduced":["0"],"last_affected":[],"package":"netty-tcnative","purl":"pkg:rpm/suse/netty-tcnative\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2025:4087-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP7","fixed":["2.0.74-150200.3.33.1"],"introduced":["0"],"last_affected":[],"package":"netty-tcnative","purl":"pkg:rpm/suse/netty-tcnative\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP7","source":"SUSE-SU-2025:4087-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","fixed":["4.1.128-150200.4.37.1"],"introduced":["0"],"last_affected":[],"package":"netty","purl":"pkg:rpm/suse/netty\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6","source":"SUSE-SU-2025:4087-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","fixed":["4.1.128-150200.4.37.1"],"introduced":["0"],"last_affected":[],"package":"netty","purl":"pkg:rpm/suse/netty\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7","source":"SUSE-SU-2025:4087-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["4.1.128-150200.4.37.1"],"introduced":["0"],"last_affected":[],"package":"netty","purl":"pkg:rpm/opensuse/netty\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4087-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.0.74-150200.3.33.1"],"introduced":["0"],"last_affected":[],"package":"netty-tcnative","purl":"pkg:rpm/opensuse/netty-tcnative\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4087-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.1.128-1.1"],"introduced":["0"],"last_affected":[],"package":"netty","purl":"pkg:rpm/opensuse/netty\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15667-1"}],"prev":{"headline":"BunnyPad Vulnerable to Buffer Overflow When Opening Files of Size 20MB or Greater","id":"CVE-2025-59418"},"products":["netty"],"published":"2025-10-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-17","vendors":["netty"]},"summary":"Attackers can inject SMTP commands via CRLF characters to forge emails from trusted servers, bypassing SPF/DKIM checks.","url":"https://insights.sbomify.com/CVE-2025-59419/"}