---
title: "CWE-1274: Improper Access Control for Volatile Memory Containing Boot Code"
url: https://radicalnotion.ai/cwe/cwe-1274
type: cwe
description: "The product conducts a secure-boot process that transfers bootloader code from Non-Volatile Memory (NVM) into Volatile Memory (VM), but it does not have sufficient access control or other protections for the Volatile Memory."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1274: Improper Access Control for Volatile Memory Containing Boot Code

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

## Description

The product conducts a secure-boot process that transfers bootloader code from Non-Volatile Memory (NVM) into Volatile Memory (VM), but it does not have sufficient access control or other protections for the Volatile Memory.

## Background

As a part of a secure-boot process, the read-only-memory (ROM) code for a System-on-Chip (SoC) or other system fetches bootloader code from Non-Volatile Memory (NVM) and stores the code in Volatile Memory (VM), such as dynamic, random-access memory (DRAM) or static, random-access memory (SRAM). The NVM is usually external to the SoC, while the VM is internal to the SoC. As the code is transferred from NVM to VM, it is authenticated by the SoC's ROM code.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | This weakness can be introduced during hardware architecture or design but can be identified later during testing. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control, Integrity | Modify Memory, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity | If the volatile-memory-region protections or access controls are insufficient to prevent modifications from an adversary or untrusted agent, the secure boot may be bypassed or replaced with the execution of an adversary's own code. |

## Potential mitigations

### Architecture and Design

Ensure that the design of volatile-memory protections is enough to prevent modification from an adversary or untrusted code.

### Testing

Test the volatile-memory protections to ensure they are safe from modification or untrusted code.

## Detection methods

### Manual Analysis

Ensure the volatile memory is lockable or has locks. Ensure the volatile memory is locked for writes from untrusted agents or adversaries. Try modifying the volatile memory from an untrusted agent, and ensure these writes are dropped.

Effectiveness: High

### Manual Analysis

Analyze the device using the following steps:

Only trusted masters should be allowed to write to the memory regions. For example, pluggable device peripherals should not have write access to program load memory regions.

- Identify all fabric master agents that are active during system Boot Flow when initial code is loaded from Non-volatile storage to volatile memory.
- Identify the volatile memory regions that are used for storing loaded system executable program.
- During system boot, test programming the identified memory regions in step 2 from all the masters identified in step 1.

Effectiveness: Moderate

## Demonstrative examples

### Example 1

A typical SoC secure boot's flow includes fetching the next piece of code (i.e., the boot loader) from NVM (e.g., serial, peripheral interface (SPI) flash), and transferring it to DRAM/SRAM volatile, internal memory, which is more efficient.

The memory from where the boot loader executes can be modified by an adversary.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2019-2267 | Locked memory regions may be modified through other interfaces in a secure-boot-loader image due to improper access control. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2022-2482 | Improper Access Control for Volatile Memory Containing Boot Code in Nokia ASIK AirScale System Module | high | 8.8 | - | No | 2023-01-06 |
| CVE-2022-2484 | Improper Access Control for Volatile Memory Containing Boot Code in Nokia ASIK AirScale System Module | high | 8.4 | - | No | 2023-01-06 |
| CVE-2025-59404 | - | high | 7.5 | - | No | 2025-09-25 |
| CVE-2023-31345 | - | high | 7.5 | - | No | 2025-02-11 |
| CVE-2025-29950 | - | high | 7.1 | - | No | 2026-02-10 |
| CVE-2025-59694 | - | medium | 6.8 | - | No | 2025-12-02 |
| CVE-2025-65396 | - | medium | 6.1 | - | No | 2026-01-14 |
| CVE-2025-4043 | Milesight UG65-868M-EA Improper Access Control for Volatile Memory Containing Boot Code | medium | 6.1 | - | No | 2025-05-07 |
| CVE-2024-36345 | - | medium | 4.6 | - | No | 2026-05-15 |

## Related attack patterns (CAPEC)

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

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-284](https://radicalnotion.ai/cwe/cwe-284) | Improper Access Control |

## Frequently asked questions

### What is CWE-1274?

The product conducts a secure-boot process that transfers bootloader code from Non-Volatile Memory (NVM) into Volatile Memory (VM), but it does not have sufficient access control or other protections for the Volatile Memory.

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

9 recorded CVEs are attributed to CWE-1274, including CVE-2022-2482, CVE-2022-2484 and CVE-2025-59404.

### How do you prevent CWE-1274?

Ensure that the design of volatile-memory protections is enough to prevent modification from an adversary or untrusted code.

### How is CWE-1274 detected?

Manual Analysis: Ensure the volatile memory is lockable or has locks. Ensure the volatile memory is locked for writes from untrusted agents or adversaries. Try modifying the volatile memory from an untrusted agent, and ensure these writes are dropped.

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

Exploiting CWE-1274 can lead to: Modify Memory, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity.

### Is CWE-1274 actively exploited?

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

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

---

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