CVE-2025-10942 H3C Magic B3 aspForm EditMacList buffer overflow

High 8.7 Published Updated

Remote attackers can trigger a buffer overflow in the H3C Magic B3 router's aspForm interface, potentially leading to code execution or service disruption.

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-10942?

CVE-2025-10942 is a high-severity memory corruption vulnerability in H3C Magic B3, published on 25 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 H3C Magic B3 up to 100R002. This affects the function AddMacList/EditMacList of the file /goform/aspForm. The manipulation of the argument param leads to buffer overflow. The attack can be initiated remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-120, CWE-119

Which versions are affected by CVE-2025-10942?

How do I fix CVE-2025-10942?

No fix has been published for CVE-2025-10942 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-10942 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-10942 exists.

Sources

Also known as GHSA-4h6c-jx8m-qmff.

Is CVE-2025-10942 in your software?

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

Check your SBOMs for free