{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-7844 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-7844 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-7844 is a low-severity memory corruption vulnerability in wolfSSL Inc. wolfTPM, published on 4 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-7844 and fix it if it is affected.\n\nWhat it is: CVE-2025-7844 is a low-severity memory corruption vulnerability in wolfSSL Inc. wolfTPM, published on 4 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-7844 in the wild and no public exploit code.\n\nAffected product: wolfSSL Inc. wolfTPM. 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-2025-7844/ (Markdown: https://insights.sbomify.com/CVE-2025-7844/index.md)","id":"CVE-2025-7844","markdown":"https://insights.sbomify.com/CVE-2025-7844/index.md","name":"CVE-2025-7844","record":{"aliases":["GHSA-c7fc-3c5j-j956"],"analysis":{"component_type":"library","fix_type":"configuration_change","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"wolfTPM library","requires_auth":"none","summary":"Attacker can trigger stack buffer overflow in wolfTPM by exporting large RSA keys if MAX_RSA_KEY_BITS is misconfigured, risking code execution.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"wolfSSL","cpe":[],"cvss":{"score":1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:P/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/U:Green","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"Exporting a TPM based RSA key larger than 2048 bits from the TPM could overrun a stack buffer if the default `MAX_RSA_KEY_BITS=2048` is used. If your TPM 2.0 module supports RSA key sizes larger than 2048 bit and your applications supports creating or importing an RSA private or public key larger than 2048 bits and your application calls `wolfTPM2_RsaKey_TpmToWolf` on that key, then a stack buffer could be overrun. If the `MAX_RSA_KEY_BITS` build-time macro is set correctly (RSA bits match what TPM hardware is capable of) for the hardware target, then a stack overrun is not possible.","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":"Memory corruption in wolfTPM","id":"CVE-2025-7844","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site scripting in Stratum Widgets for Elementor","id":"CVE-2025-7845"},"packages":[],"prev":{"headline":"Auto Save Remote Images (Drafts) \u003c= 1.0.9 - Authenticated (Contributor+) Server-Side Request Forgery","id":"CVE-2025-7843"},"products":["wolfTPM"],"published":"2025-08-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"total"},"state":"PUBLISHED","updated":"2025-08-05","vendors":["wolfSSL Inc."]},"summary":"Attacker can trigger stack buffer overflow in wolfTPM by exporting large RSA keys if MAX_RSA_KEY_BITS is misconfigured, risking code execution.","url":"https://insights.sbomify.com/CVE-2025-7844/"}