---
title: "CWE-512: Spyware"
url: https://radicalnotion.ai/cwe/cwe-512
type: cwe
description: "The product collects personally identifiable information about a human user or the user's activities, but the product accesses this information using other resources besides itself, and it does not require that user's explicit approval or direct input into the product."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-512: Spyware

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 0
- **Of those, in CISA KEV:** 0
- **New in 2026:** 0
- **CWE catalog version:** 4.21

## Description

The product collects personally identifiable information about a human user or the user's activities, but the product accesses this information using other resources besides itself, and it does not require that user's explicit approval or direct input into the product.

## Alternate terms

- **Spyware:** "Spyware" is a commonly used term with many definitions and interpretations. In general, it is meant to refer to products that collect information or install functionality that human users might not allow if they were fully aware of the actions being taken by the software. For example, a user might expect that tax software would collect a social security number and include it when filing a tax return, but that same user would not expect gaming software to obtain the social security number from that game software's data.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |
| Operation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | - |

## Potential mitigations

### Operation

Use spyware detection and removal software.

### Installation

Always verify the integrity of the product that is being installed.

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-506](https://radicalnotion.ai/cwe/cwe-506) | Embedded Malicious Code |

## Frequently asked questions

### What is CWE-512?

The product collects personally identifiable information about a human user or the user's activities, but the product accesses this information using other resources besides itself, and it does not require that user's explicit approval or direct input into the product.

### How do you prevent CWE-512?

Use spyware detection and removal software.

### What are the consequences of CWE-512?

Exploiting CWE-512 can lead to: Read Application Data.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/512.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-512). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
