---
title: "CWE-508: Non-Replicating Malicious Code"
url: https://radicalnotion.ai/cwe/cwe-508
type: cwe
description: "Non-replicating malicious code only resides on the target system or product that is attacked; it does not attempt to spread to other systems."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-508: Non-Replicating Malicious Code

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

## Description

Non-replicating malicious code only resides on the target system or product that is attacked; it does not attempt to spread to other systems.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Distribution | - |
| Implementation | - |
| Operation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability | Execute Unauthorized Code or Commands | - |

## Potential mitigations

### Operation

Antivirus software can help mitigate known malicious code.

### Installation

Verify the integrity of the software that is being installed.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-24216 | iOS and iPadOS: WebKit - Processing maliciously crafted web content may lead to an unexpected Safari crash | medium | 4.3 | - | No | 2025-03-31 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-507](https://radicalnotion.ai/cwe/cwe-507) | Trojan Horse |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| Landwehr | Non-Replicating | - | - |

## Frequently asked questions

### What is CWE-508?

Non-replicating malicious code only resides on the target system or product that is attacked; it does not attempt to spread to other systems.

### What CVEs are caused by CWE-508?

1 recorded CVE is attributed to CWE-508: CVE-2025-24216.

### How do you prevent CWE-508?

Antivirus software can help mitigate known malicious code.

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

Exploiting CWE-508 can lead to: Execute Unauthorized Code or Commands.

### Is CWE-508 actively exploited?

1 recorded CVE is caused by CWE-508; it is not currently in CISA's KEV catalog of actively exploited flaws.

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

---

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