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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v4.0, CNA) `CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-121
- **Published:** 2026-06-05T23:51:39.483Z
- **Modified:** 2026-07-23T07:10:00.113Z

## Who should check

- Anyone running TP-Link Systems Inc. Tapo C520WS v2 \< 1.2.6 Build 260528

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

## Affected and fixed versions

- TP-Link Systems Inc. Tapo C520WS v2: \< 1.2.6 Build 260528 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-6240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-6240.md
Affected: TP-Link Systems Inc. Tapo C520WS v2 < 1.2.6 Build 260528
Fixed in: TP-Link Systems Inc. Tapo C520WS v2 1.2.6

Steps:
1. Search this machine and project for TP-Link Systems Inc. Tapo C520WS v2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-6240 being exploited?

There is no confirmed exploitation: CVE-2026-6240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-6240?

Medium: CVSS 6.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-6240?

TP-Link Systems Inc. Tapo C520WS v2 \< 1.2.6 Build 260528.

### Is there a fix for CVE-2026-6240?

Yes. Fixed in TP-Link Systems Inc. Tapo C520WS v2 1.2.6. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-6240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.tp-link.com/us/support/faq/5120/>
- patch: <https://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notes>
- patch: <https://www.tp-link.com/en/support/download/tapo-c520ws/#Firmware-Release-Notes>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-6240>

HTML: <https://flawdb.com/CVE-2026-6240> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-6240>
