CVE-2025-9813 Tenda CH22 SetSambaConf formSetSambaConf buffer overflow

High 8.7 Published Updated

Remote attackers can trigger a buffer overflow in the Tenda CH22 router's Samba configuration interface, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-9813?

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.

Official 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.

Weakness: CWE-120, CWE-119

Which versions are affected by CVE-2025-9813?

It affects 1 product.

Products include Tenda Ch22 Firmware.

How do I fix CVE-2025-9813?

No fix has been published for CVE-2025-9813 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-9813 being exploited?

There is no known exploitation of CVE-2025-9813 in the wild and no public exploit code.

Sources

Also known as GHSA-4c98-xmr9-5fq8.

Is CVE-2025-9813 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free