---
title: "CWE-1282: Assumed-Immutable Data is Stored in Writable Memory"
url: https://radicalnotion.ai/cwe/cwe-1282
type: cwe
description: "Immutable data, such as a first-stage bootloader, device identifiers, and \"write-once\" configuration settings are stored in writable memory that can be re-programmed or updated in the field."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1282: Assumed-Immutable Data is Stored in Writable Memory

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

## Description

Immutable data, such as a first-stage bootloader, device identifiers, and "write-once" configuration settings are stored in writable memory that can be re-programmed or updated in the field.

## Background

Security services such as secure boot, authentication of code and data, and device attestation all require assets such as the first stage bootloader, public keys, golden hash digests, etc. which are implicitly trusted.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | Keys, code, configuration settings, and other data should be programmed in write-once or read-only memory instead of writable memory. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity | Varies by Context | Security is lost if assets assumed to be immutable can be modified. |

## Potential mitigations

### Implementation

Storing immutable code or data in read-only memory (ROM), fuses, or one-time programmable (OTP) memory provides strong integrity guarantees and provides a root of trust for securing the rest of the system.

## Demonstrative examples

### Example 1

Cryptographic hash functions are commonly used to create unique fixed-length digests used to ensure the integrity of code and keys. A golden digest is stored on the device and compared to the digest computed from the data to be verified. If the digests match, the data has not been maliciously modified. If an attacker can modify the golden digest they then have the ability to store arbitrary data that passes the verification check. Hash digests used to verify public keys and early stage boot code should be immutable, with the strongest protection offered by hardware immutability.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2019-25358 | FileOptimizer 14.00.2524 - Denial of Service | high | 8.7 | - | No | 2026-02-18 |
| CVE-2022-2483 | Assumed-Immutable Data is Stored in Writable Memory in Nokia ASIK AirScale System Module | high | 8.4 | - | No | 2023-01-06 |
| CVE-2019-25590 | Axessh 4.2 Denial of Service via Log File Name | medium | 6.9 | - | No | 2026-03-22 |
| CVE-2019-25588 | BulletProof FTP Server 2019.0.0.50 Denial of Service via DNS Address | medium | 6.9 | - | No | 2026-03-22 |
| CVE-2019-25587 | BulletProof FTP Server 2019.0.0.50 Storage-Path Denial of Service | medium | 6.9 | - | No | 2026-03-22 |
| CVE-2019-25583 | RarmaRadio 2.72.3 Username Field Denial of Service | medium | 6.9 | - | No | 2026-03-22 |
| CVE-2019-25551 | Sandboxie 5.30 Denial of Service via Program Alerts Buffer Overflow | medium | 6.9 | - | No | 2026-03-21 |
| CVE-2018-25229 | BulletProof FTP Server 2019.0.0.50 Denial of Service via SMTP | medium | 6.8 | - | No | 2026-03-30 |

## Related attack patterns (CAPEC)

- [CAPEC-458](https://radicalnotion.ai/capec/capec-458): Flash Memory Attacks
- [CAPEC-679](https://radicalnotion.ai/capec/capec-679): Exploitation of Improperly Configured or Implemented Memory Protections

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-668](https://radicalnotion.ai/cwe/cwe-668) | Exposure of Resource to Wrong Sphere |
| Can precede | [CWE-471](https://radicalnotion.ai/cwe/cwe-471) | Modification of Assumed-Immutable Data (MAID) |

## Frequently asked questions

### What is CWE-1282?

Immutable data, such as a first-stage bootloader, device identifiers, and "write-once" configuration settings are stored in writable memory that can be re-programmed or updated in the field.

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

8 recorded CVEs are attributed to CWE-1282, including CVE-2019-25358, CVE-2022-2483 and CVE-2019-25590.

### How do you prevent CWE-1282?

Storing immutable code or data in read-only memory (ROM), fuses, or one-time programmable (OTP) memory provides strong integrity guarantees and provides a root of trust for securing the rest of the system.

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

Exploiting CWE-1282 can lead to: Varies by Context.

### Is CWE-1282 actively exploited?

8 recorded CVEs are caused by CWE-1282; none are currently in CISA's KEV catalog of actively exploited flaws.

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

---

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