{"answers":{"affected":"6 open source packages ship an affected version, including com.sun.mail:jakarta.mail and org.eclipse.angus:smtp. It affects 2 products.","exploited":"There is no known exploitation of CVE-2025-7962 in the wild and no public exploit code.","fix":"Upgrade com.sun.mail:jakarta.mail to a fixed version for your release line: 1.6.8 or 2.0.2.","what":"CVE-2025-7962 is a medium-severity vulnerability in Eclipse Foundation Jakarta Mail, published on 21 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-7962 and fix it if it is affected.\n\nWhat it is: CVE-2025-7962 is a medium-severity vulnerability in Eclipse Foundation Jakarta Mail, published on 21 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-7962 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.sun.mail:jakarta.mail (Maven): affected all versions; fixed in 1.6.8\n- com.sun.mail:jakarta.mail (Maven): affected all versions; fixed in 1.6.8\n- com.sun.mail:jakarta.mail (Maven): affected from 2.0.0; fixed in 2.0.2\n- com.sun.mail:jakarta.mail (Maven): affected from 2.0.0; fixed in 2.0.2\n- org.eclipse.angus:smtp (Maven): affected all versions; fixed in 2.0.4\n- org.eclipse.angus:smtp (Maven): affected all versions; fixed in 2.0.4\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-7962/ (Markdown: https://insights.sbomify.com/CVE-2025-7962/index.md)","id":"CVE-2025-7962","markdown":"https://insights.sbomify.com/CVE-2025-7962/index.md","name":"CVE-2025-7962","record":{"aliases":["CLEANSTART-2026-GU43525","CLEANSTART-2026-LI24140","CLEANSTART-2026-LT00301","CLEANSTART-2026-OE66556","CLEANSTART-2026-PU24283","CLEANSTART-2026-VN01735","CLSA-2026-1791372817","DEBIAN-CVE-2025-7962","ECHO-fb57-1326-0be8","GHSA-9342-92gg-6v29","MINI-337p-94c9-7gvv","MINI-3qp8-wrwq-c3jh","MINI-5pfw-hc94-749f","MINI-83m2-c7r4-g656","MINI-92fg-4wxx-jvq4","MINI-93p9-hxqm-9x76","MINI-9j67-9jqp-vvg4","MINI-cjv7-x8pj-xwq6","MINI-f29j-xqrh-wchx","MINI-ff57-5jcc-3m5w","MINI-hx98-c26f-cf7p","MINI-j3hx-53cj-rvrr","MINI-p4hg-gh5h-7gj3","MINI-pgj7-cjjg-r6f7","MINI-q6xf-hx77-wg5m","MINI-q9gc-39j2-87r4","MINI-r24q-5xxh-3c2q","MINI-wmjc-2m35-jrpr","MINI-wqwm-6g7c-p7jx","OESA-2025-1987","OESA-2025-1988","OESA-2025-1989","OESA-2025-1990","OESA-2025-1991","RHLW-2026-49443da84312bd4d","RHLW-2026-c45d2a64e2c0626e","ROOT-APP-MAVEN-CVE-2025-7962","SUSE-SU-2025:03025-1","UBUNTU-CVE-2025-7962","openSUSE-SU-2025:15378-1","openSUSE-SU-2026:11763-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Jakarta Mail library","requires_auth":"low_privilege","summary":"Attackers can inject SMTP commands via CRLF characters in Jakarta Mail, potentially altering message delivery or content.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"angus_mail","vendor":"eclipse"},{"product":"jakarta_mail","vendor":"eclipse"}],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-147","name":"Improper Neutralization of Input Terminators"}],"description":"In Jakarta Mail versions prior to 2.0.2 it is possible to perform an SMTP Injection by utilizing the \\r and \\n UTF-8 characters to separate different messages.","ecosystems":["Maven","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 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":"none_known"},"has_fix":true,"headline":"Jakarta Mail vulnerable to SMTP Injection","id":"CVE-2025-7962","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"other","year":"2025"},"n_packages":11,"n_references":1,"next":{"headline":"Cross-site scripting in Easy Waveform Player","id":"CVE-2025-7963"},"packages":[{"ecosystem":"Maven","fixed":["1.6.8"],"introduced":["0"],"last_affected":[],"package":"com.sun.mail:jakarta.mail","purl":null,"source":"GHSA-9342-92gg-6v29"},{"ecosystem":"Maven","fixed":["1.6.8"],"introduced":["0"],"last_affected":[],"package":"com.sun.mail:jakarta.mail","purl":"pkg:maven/com.sun.mail/jakarta.mail","source":"GHSA-9342-92gg-6v29"},{"ecosystem":"Maven","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"com.sun.mail:jakarta.mail","purl":null,"source":"GHSA-9342-92gg-6v29"},{"ecosystem":"Maven","fixed":["2.0.2"],"introduced":["2.0.0"],"last_affected":[],"package":"com.sun.mail:jakarta.mail","purl":"pkg:maven/com.sun.mail/jakarta.mail","source":"GHSA-9342-92gg-6v29"},{"ecosystem":"Maven","fixed":["2.0.4"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.angus:smtp","purl":null,"source":"GHSA-9342-92gg-6v29"},{"ecosystem":"Maven","fixed":["2.0.4"],"introduced":["0"],"last_affected":[],"package":"org.eclipse.angus:smtp","purl":"pkg:maven/org.eclipse.angus/smtp","source":"GHSA-9342-92gg-6v29"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["1.6.2-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"javamail","purl":"pkg:rpm/suse/javamail\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:03025-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["1.6.2-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"javamail","purl":"pkg:rpm/suse/javamail\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:03025-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.6.2-150200.3.7.1"],"introduced":["0"],"last_affected":[],"package":"javamail","purl":"pkg:rpm/opensuse/javamail\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:03025-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.10.18-1.1"],"introduced":["0"],"last_affected":[],"package":"ant","purl":"pkg:rpm/opensuse/ant\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11763-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.6.2-3.1"],"introduced":["0"],"last_affected":[],"package":"javamail","purl":"pkg:rpm/opensuse/javamail\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15378-1"}],"prev":{"headline":"KAP 3.6.0 - TCC Bypass","id":"CVE-2025-7961"},"products":["Jakarta Mail"],"published":"2025-07-21","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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["Eclipse Foundation"]},"summary":"Attackers can inject SMTP commands via CRLF characters in Jakarta Mail, potentially altering message delivery or content.","url":"https://insights.sbomify.com/CVE-2025-7962/"}