{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-9813 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-9813 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-9813 is a high-severity memory corruption vulnerability in Tenda CH22, published on 2 Sep 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-9813 and fix it if it is affected.\n\nWhat it is: CVE-2025-9813 is a high-severity memory corruption vulnerability in Tenda CH22, published on 2 Sep 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-9813 in the wild and no public exploit code.\n\nAffected product: Tenda CH22. 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-9813/ (Markdown: https://insights.sbomify.com/CVE-2025-9813/index.md)","id":"CVE-2025-9813","markdown":"https://insights.sbomify.com/CVE-2025-9813/index.md","name":"CVE-2025-9813","record":{"aliases":["GHSA-4c98-xmr9-5fq8"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Tenda CH22 router","requires_auth":"low_privilege","summary":"Remote attackers can trigger a buffer overflow in the Tenda CH22 router's Samba configuration interface, potentially leading to arbitrary code execution.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"ch22_firmware","vendor":"tenda"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A vulnerability was identified in Tenda CH22 1.0.0.1. This issue affects the function formSetSambaConf of the file /goform/SetSambaConf. The manipulation of the argument samba_userNameSda leads to buffer overflow. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Tenda CH22 SetSambaConf formSetSambaConf buffer overflow","id":"CVE-2025-9813","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":0,"n_references":5,"next":{"headline":"PHPGurukul Beauty Parlour Management System contact-us.php sql injection","id":"CVE-2025-9814"},"packages":[],"prev":{"headline":"Tenda CH22 exeCommand formexeCommand buffer overflow","id":"CVE-2025-9812"},"products":["CH22"],"published":"2025-09-02","related":[{"cvss_score":9.3,"headline":"Tenda CH22 HTTP Request AdvSetWrlsafeset formWrlsafeset stack-based overflow","id":"CVE-2025-11418","kev_date_added":null,"published":"2025-10-08"},{"cvss_score":9.3,"headline":"Tenda CH22 SafeEmailFilter formSafeEmailFilter memory corruption","id":"CVE-2025-11423","kev_date_added":null,"published":"2025-10-08"},{"cvss_score":8.7,"headline":"Tenda CH22 Parameter CertLocalPrecreate formCertLocalPrecreate stack-based overflow","id":"CVE-2026-5604","kev_date_added":null,"published":"2026-04-05"},{"cvss_score":8.7,"headline":"Tenda CH22 WrlExtraSet formWrlExtraSet stack-based overflow","id":"CVE-2026-5605","kev_date_added":null,"published":"2026-04-05"},{"cvss_score":8.7,"headline":"Tenda CH22 Parameter webtypelibrary formWebTypeLibrary stack-based overflow","id":"CVE-2026-5204","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":8.7,"headline":"Tenda CH22 createFileName formCreateFileName stack-based overflow","id":"CVE-2026-5152","kev_date_added":null,"published":"2026-03-30"},{"cvss_score":8.7,"headline":"Tenda CH22 Parameter setcfm fromSetCfm stack-based overflow","id":"CVE-2026-5154","kev_date_added":null,"published":"2026-03-30"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-09-02","vendors":["Tenda"]},"summary":"Remote attackers can trigger a buffer overflow in the Tenda CH22 router's Samba configuration interface, potentially leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2025-9813/"}