CVE-2026-6581 H3C Magic B1 aspForm SetMobileAPInfoById buffer overflow

High 8.7 Published Updated

Remote attackers can trigger a buffer overflow in the H3C Magic B1 router via the 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-2026-6581?

CVE-2026-6581 is a high-severity memory corruption vulnerability in H3C Magic B1, published on 19 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was detected in H3C Magic B1 up to 100R004. Affected by this vulnerability is the function SetMobileAPInfoById of the file /goform/aspForm. Performing a manipulation of the argument param results in buffer overflow. Remote exploitation of the attack is possible. The exploit is now public and may 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-2026-6581?

How do I fix CVE-2026-6581?

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

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

Sources

Also known as GHSA-wg8p-6252-5cpj.

Is CVE-2026-6581 in your software?

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

Check your SBOMs for free