CVE-2025-6151 TP-Link TL-WR940N, TL-WR841N WanSlaacCfgRpm.htm buffer overflow

High 8.2 Published Updated

Remote attackers can exploit a buffer overflow in unsupported TP-Link routers to potentially execute code or cause denial of service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6151?

CVE-2025-6151 is a high-severity memory corruption vulnerability in TP-Link Systems INC. TL-WR841N V11, published on 17 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been found in TP-Link TL-WR940N V4 and TL-WR841N V11. Affected by this issue is some unknown functionality of the file /userRpm/WanSlaacCfgRpm.htm, which may lead to buffer overflow. The attack may be launched remotely. This vulnerability only affects products that are no longer supported by the maintainer.

Weakness: CWE-120, CWE-119

Which versions are affected by CVE-2025-6151?

It affects 1 product.

Products include Tp-Link Tl-Wr940n Firmware.

How do I fix CVE-2025-6151?

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

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

Sources

Also known as GHSA-pc68-4m2q-7jqf.

Is CVE-2025-6151 in your software?

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

Check your SBOMs for free