{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-84897 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-84897 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-84897 is a medium-severity denial of service vulnerability in wolfSSL Inc. wolfSSH, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-84897 and fix it if it is affected.\n\nWhat it is: CVE-2026-84897 is a medium-severity denial of service vulnerability in wolfSSL Inc. wolfSSH, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-84897 in the wild and no public exploit code.\n\nAffected product: wolfSSL Inc. wolfSSH. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2026-84897/ (Markdown: https://insights.sbomify.com/CVE-2026-84897/index.md)","id":"CVE-2026-84897","markdown":"https://insights.sbomify.com/CVE-2026-84897/index.md","name":"CVE-2026-84897","record":{"aliases":["GHSA-39q2-5h5r-39p7"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"wolfSSH library","requires_auth":"none","summary":"An unauthenticated remote attacker can cause CPU exhaustion in wolfSSH servers by sending malformed Diffie-Hellman key exchange messages, leading to denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"wolfSSL","cpe":[{"product":"wolfssh","vendor":"wolfssh"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/AU:Y","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-405","name":"Asymmetric Resource Consumption (Amplification)"},{"id":"CWE-372","name":"Incomplete Internal State Distinction"}],"description":"src/internal.c in wolfSSL wolfSSH through 1.5.0 admits the server-to-client Diffie-Hellman group exchange messages SSH_MSG_KEX_DH_GEX_GROUP (31) and SSH_MSG_KEX_DH_GEX_REPLY (33) when a server receives them from an unauthenticated client. IsMessageAllowedServer() applies no direction check to the key exchange message range: when the peer is keying and no particular message is expected, which is the state a server is in for the whole window after it processes the client's KEXINIT because nothing sets handshake-\u003eexpectMsgId there, the function falls out of its expectation branch without a verdict and reaches a numeric bound that admits every message id from 30 through 34. A client that negotiates diffie-hellman-group-exchange-sha256 and then sends message 31 makes the server run the client-side handler DoKexDhGexGroup(), which validates the attacker-supplied group with two 8-round Miller-Rabin primality tests, one on p and one on (p-1)/2, on a value of up to 8192 bits. The handler then returns success: the server stores the attacker's prime and generator, generates a Diffie-Hellman key pair in the attacker's group, and sends the client-role message SSH_MSG_KEX_DH_GEX_INIT (32) back to the attacker. Published RFC 3526 safe primes are the worst-case input and cost the attacker nothing to obtain. The primality validation was added in 1.5.0; versions from 1.2.0 through 1.4.22 admit the same message and enter the same client-role path without the primality cost. Message 33 is admitted as well, but on a server it is rejected before any cryptography because no public key check callback is registered, so it carries no comparable cost. Builds that define WOLFSSH_NO_DH_GEX_SHA256, which is implied by WOLFSSH_NO_DH or NO_SHA256, are unaffected.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Denial of service in wolfSSH","id":"CVE-2026-84897","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"Eventin \u003c 4.1.21 - Contributor+ LFI via Event Layout Meta","id":"CVE-2026-84898"},"packages":[],"prev":{"headline":"King Addons for Elementor \u003c 51.1.77 - Contributor+ Stored XSS via Magazine Grid Widget","id":"CVE-2026-84896"},"products":["wolfSSH"],"published":"2026-10-07","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2022-32073","kev_date_added":null,"published":"2022-07-13"},{"cvss_score":9.4,"headline":"Authentication Bypass","id":"CVE-2025-14942","kev_date_added":null,"published":"2026-01-06"},{"cvss_score":9.4,"headline":"Host verification bypass and credential leak","id":"CVE-2025-11625","kev_date_added":null,"published":"2025-10-21"},{"cvss_score":9.1,"headline":"User authentication bypass in wolfSSH server","id":"CVE-2024-2873","kev_date_added":null,"published":"2024-03-25"},{"cvss_score":9,"headline":"wolfSSH ECDSA host key curve not validated against negotiated algorithm","id":"CVE-2026-16516","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":7.7,"headline":"wolfSSHd on Windows race condition leading to logon token reused across connections","id":"CVE-2026-83540","kev_date_added":null,"published":"2026-10-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["wolfSSL Inc."]},"summary":"An unauthenticated remote attacker can cause CPU exhaustion in wolfSSH servers by sending malformed Diffie-Hellman key exchange messages, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2026-84897/"}