---
title: "CWE-1384: Improper Handling of Physical or Environmental Conditions"
url: https://radicalnotion.ai/cwe/cwe-1384
type: cwe
description: "The product does not properly handle unexpected physical or environmental conditions that occur naturally or are artificially induced."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1384: Improper Handling of Physical or Environmental Conditions

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

## Description

The product does not properly handle unexpected physical or environmental conditions that occur naturally or are artificially induced.

For example, an unexpected physical or environmental condition may cause the flipping of a bit that is used for an authentication decision. This unexpected condition could occur naturally or be induced artificially by an adversary.

Physical or environmental conditions of concern are:

Atmospheric characteristics: extreme temperature ranges, etc.

Interference: electromagnetic interference (EMI), radio frequency interference (RFI), etc.

Assorted light sources: white light, ultra-violet light (UV), lasers, infrared (IR), etc.

Power variances: under-voltages, over-voltages, under-current, over-current, etc.

Clock variances: glitching, overclocking, clock stretching, etc.

Component aging and degradation

Materials manipulation: focused ion beams (FIB), etc.

Exposure to radiation: x-rays, cosmic radiation, etc.

## Background

Hardware products are typically only guaranteed to behave correctly within certain physical limits or environmental conditions. Such products cannot necessarily control the physical or external conditions to which they are subjected. However, the inability to handle such conditions can undermine a product's security.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | The product's design might not consider checking and handling extreme conditions. |
| Manufacturing | For hardware manufacturing, sub-par components might be chosen that are not able to handle the expected environmental conditions. |

## Applicable platforms

**Technologies:** System on Chip (Undetermined), ICS/OT (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability | Varies by Context, Unexpected State | Consequences of this weakness are highly dependent on the role of affected components within the larger product. |

## Potential mitigations

### Requirements

In requirements, be specific about expectations for how the product will perform when it exceeds physical and environmental boundary conditions, e.g., by shutting down.

### Architecture and Design, Implementation

Where possible, include independent components that can detect excess environmental conditions and have the capability to shut down the product.

### Architecture and Design, Implementation

Where possible, use shielding or other materials that can increase the adversary's workload and reduce the likelihood of being able to successfully trigger a security-related failure.

## Demonstrative examples

### Example 1

Below is a representative snippet of C code that is part of the secure-boot flow. A signature of the runtime-firmware image is calculated and compared against a golden value. If the signatures match, the bootloader loads runtime firmware. If there is no match, an error halt occurs. If the underlying hardware executing this code does not contain any circuitry or sensors to detect voltage or clock glitches, an attacker might launch a fault-injection attack right when the signature check is happening (at the location marked with the comment), causing a bypass of the signature-checking process.

Bad code:

```c
...
if (signature_matches)  // <-Glitch Here
{
    load_runtime_firmware();
}
else
{
    do_not_load_runtime_firmware();
}

...
```

Good code:

```other
If the underlying hardware detects a voltage or clock glitch, the information can be used to prevent the glitch from being successful.
```

After bypassing secure boot, an attacker can gain access to system assets to which the attacker should not have access.

### Example 2

In 2016, a security researcher, who was also a patient using a pacemaker, was on an airplane when a bit flip occurred in the pacemaker, likely due to the higher prevalence of cosmic radiation at such heights. The pacemaker was designed to account for bit flips and went into a default safe mode, which still forced the patient to go to a hospital to get it reset. The bit flip also inadvertently enabled the researcher to access the crash file, perform reverse engineering, and detect a hard-coded key. \[REF-1101\]

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2019-17391 | Lack of anti-glitch protections allows an attacker to launch a physical attack to bypass the secure boot and read protected eFuses. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-2760 | Sandbox escape due to incorrect boundary conditions in the Graphics: WebRender component | critical | 10.0 | - | No | 2026-02-24 |
| CVE-2026-2759 | Incorrect boundary conditions in the Graphics: ImageLib component | critical | 9.8 | - | No | 2026-02-24 |
| CVE-2026-2757 | Incorrect boundary conditions in the WebRTC: Audio/Video component | critical | 9.8 | - | No | 2026-02-24 |
| CVE-2025-52557 | Mail-0 Zero Session Hijacking Via Email | high | 8.6 | - | No | 2025-06-21 |
| CVE-2024-39355 | - | medium | 5.7 | - | No | 2025-02-12 |
| CVE-2026-49325 | Indian Scout Bobber 2025 WCM voltage-based shutdown | medium | 4.1 | - | No | 2026-05-29 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-703](https://radicalnotion.ai/cwe/cwe-703) | Improper Check or Handling of Exceptional Conditions |
| Child | [CWE-1247](https://radicalnotion.ai/cwe/cwe-1247) | Improper Protection Against Voltage and Clock Glitches |
| Child | [CWE-1261](https://radicalnotion.ai/cwe/cwe-1261) | Improper Handling of Single Event Upsets |
| Child | [CWE-1332](https://radicalnotion.ai/cwe/cwe-1332) | Improper Handling of Faults that Lead to Instruction Skips |
| Child | [CWE-1338](https://radicalnotion.ai/cwe/cwe-1338) | Improper Protections Against Hardware Overheating |
| Child | [CWE-1351](https://radicalnotion.ai/cwe/cwe-1351) | Improper Handling of Hardware Behavior in Exceptionally Cold Environments |

## Frequently asked questions

### What is CWE-1384?

The product does not properly handle unexpected physical or environmental conditions that occur naturally or are artificially induced.

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

6 recorded CVEs are attributed to CWE-1384, including CVE-2026-2760, CVE-2026-2759 and CVE-2026-2757.

### How do you prevent CWE-1384?

In requirements, be specific about expectations for how the product will perform when it exceeds physical and environmental boundary conditions, e.g., by shutting down.

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

Exploiting CWE-1384 can lead to: Varies by Context, Unexpected State.

### Is CWE-1384 actively exploited?

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

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

---

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