CVE-2026-6240 Authenticated Stack-based Buffer Overflow in ONVIF DeleteUsers Service on TP-Link Tapo C520WS

Medium 6.8 Published Updated

An authenticated attacker can cause a denial of service on TP-Link Tapo C520WS cameras by triggering a stack-based buffer overflow in the ONVIF DeleteUsers service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-6240?

CVE-2026-6240 is a medium-severity memory corruption vulnerability in TP-Link Systems Inc. Tapo C520WS v2, published on 5 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A stack-based buffer overflow vulnerability exists in Tapo C520WS v2 in the ONVIF DeleteUsers service, due to insufficient boundary checks when handling multiple user deletion parameters. An authenticated attacker can send a crafted malicious request containing an excessive number of identifiers to overflow stack memory.

Successful exploitation may result in a service crash or deadlock, leading to DoS affecting device management and monitoring functionality.

Weakness: CWE-121

Which versions are affected by CVE-2026-6240?

How do I fix CVE-2026-6240?

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

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

Sources

Also known as GHSA-qv33-m6vq-mqmr.

Is CVE-2026-6240 in your software?

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

Check your SBOMs for free