---
title: "CWE-1123: Excessive Use of Self-Modifying Code"
url: https://radicalnotion.ai/cwe/cwe-1123
type: cwe
description: "The product uses too much self-modifying code."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1123: Excessive Use of Self-Modifying Code

- **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 uses too much self-modifying code.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Reduce Maintainability, Increase Analytical Complexity | This issue makes it more difficult to understand or maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities. |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1120](https://radicalnotion.ai/cwe/cwe-1120) | Excessive Code Complexity |

## Frequently asked questions

### What is CWE-1123?

The product uses too much self-modifying code.

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

Exploiting CWE-1123 can lead to: Reduce Maintainability, Increase Analytical Complexity.

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

---

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