---
title: "CWE-1314: Missing Write Protection for Parametric Data Values"
url: https://radicalnotion.ai/cwe/cwe-1314
type: cwe
description: "The device does not write-protect the parametric data values for sensors that scale the sensor value, allowing untrusted software to manipulate the apparent result and potentially damage hardware or cause operational failure."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1314: Missing Write Protection for Parametric Data Values

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

## Description

The device does not write-protect the parametric data values for sensors that scale the sensor value, allowing untrusted software to manipulate the apparent result and potentially damage hardware or cause operational failure.

The limit values are generally programmed in standard units for the type of value being read. However, the hardware-sensor blocks may report the settings in different units depending upon sensor design and operation. The raw sensor output value is converted to the desired units using a scale conversion based on the parametric data programmed into the sensor. The final converted value is then compared with the previously programmed limits.

While the limit values are usually protected, the sensor parametric data values may not be. By changing the parametric data, safe operational limits may be bypassed.

## Background

Various sensors are used by hardware to detect any devices operating outside of the design limits. The threshold limit values are set by hardware fuses or trusted software such as the BIOS. These limits may be related to thermal, power, voltage, current, and frequency. Hardware mechanisms may be used to protect against alteration of the threshold limit values by untrusted software.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | The lack of a requirement to protect parametric values may contribute to this weakness. |
| Implementation | The lack of parametric value protection may be a cause of this weakness. |

## Applicable platforms

**Technologies:** Sensor Hardware (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Availability | Quality Degradation, DoS: Resource Consumption (Other), DoS: Crash, Exit, or Restart | Sensor value manipulation, particularly thermal or power, may allow physical damage to occur or disabling of the device by a false fault shutdown causing a Denial-Of-Service. |

## Potential mitigations

### Architecture and Design

Access controls for sensor blocks should ensure that only trusted software is allowed to change threshold limits and sensor parametric data.

Effectiveness: High

## Demonstrative examples

### Example 1

Malicious software executes instructions to increase power consumption to the highest possible level while causing the clock frequency to increase to its maximum value. Such a program executing for an extended period of time would likely overheat the device, possibly resulting in permanent damage to the device.

A ring, oscillator-based temperature sensor will generally report the sensed value as oscillator frequency rather than degrees centigrade. The temperature sensor will have calibration values that are used to convert the detected frequency into the corresponding temperature in degrees centigrade.

Consider a SoC design where the critical maximum temperature limit is set in fuse values to 100C and is not modifiable by software. If the scaled thermal sensor output equals or exceeds this limit, the system is commanded to shut itself down.

The thermal sensor calibration values are programmable through registers that are exposed to system software. These registers allow software to affect the converted temperature output such that the output will never exceed the maximum temperature limit.

Bad code:

```other
The sensor frequency value is scaled by applying the function:
    Sensed Temp = a + b * Sensor Freq
where a and b are the programmable calibration data coefficients. Software sets a and b to zero ensuring the sensed temperature is always zero.
```

Good code:

```other
The sensor frequency value is scaled by applying the function:
    Sensed Temp = a + b * Sensor Freq
where a and b are the programmable calibration data coefficients. Untrusted software is prevented from changing the values of either a or b, preventing this method of manipulating the temperature.
```

This weakness may be addressed by preventing access to a and b.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2017-8252 | Kernel can inject faults in computations during the execution of TrustZone leading to information disclosure in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice and Music, Snapdragon Wearables, Snapdragon Wired Infrastructure and Networking. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-40188 | goshs is Missing Write Protection for Parametric Data Values | high | 7.7 | - | No | 2026-04-10 |

## Related attack patterns (CAPEC)

- [CAPEC-1](https://radicalnotion.ai/capec/capec-1): Accessing Functionality Not Properly Constrained by ACLs

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-862](https://radicalnotion.ai/cwe/cwe-862) | Missing Authorization |
| Peer | [CWE-1299](https://radicalnotion.ai/cwe/cwe-1299) | Missing Protection Mechanism for Alternate Hardware Interface |

## Frequently asked questions

### What is CWE-1314?

The device does not write-protect the parametric data values for sensors that scale the sensor value, allowing untrusted software to manipulate the apparent result and potentially damage hardware or cause operational failure.

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

1 recorded CVE is attributed to CWE-1314: CVE-2026-40188.

### How do you prevent CWE-1314?

Access controls for sensor blocks should ensure that only trusted software is allowed to change threshold limits and sensor parametric data.

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

Exploiting CWE-1314 can lead to: Quality Degradation, DoS: Resource Consumption (Other), DoS: Crash, Exit, or Restart.

### Is CWE-1314 actively exploited?

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

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

---

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