---
title: "CWE-1328: Security Version Number Mutable to Older Versions"
url: https://radicalnotion.ai/cwe/cwe-1328
type: cwe
description: "The security version number in the hardware product is mutable, resulting in the ability to downgrade (roll-back) the boot firmware to vulnerable code versions."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1328: Security Version Number Mutable to Older Versions

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

## Description

The security version number in the hardware product is mutable, resulting in the ability to downgrade (roll-back) the boot firmware to vulnerable code versions.

## Background

A System-on-Chip (SoC) implements secure boot or verified boot. It might support a security version number, which prevents downgrading the current firmware to a vulnerable version.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | Such issues could be introduced during hardware architecture and design, and can be identified later during testing or system configuration phases. |

## Applicable platforms

**Technologies:** Security Hardware (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Authentication, Authorization | Other, Alter Execution Logic, Unexpected State | If the security version number is modifiable by an adversary, this allows attacks like downgrading to a previous version that contains vulnerabilities. Once downgraded to a previous version, an adversary can launch exploits on the SoC and thus compromise the security of the SoC. These downgrade attacks are also referred to as roll-back attacks. |
| Availability | Other, Alter Execution Logic, Unexpected State | An adversary could prevent upgrades, casing a denial of service. |

## Potential mitigations

### Architecture and Design

The security version number must be stored securely and persistently across power-on resets. When architecting the system, security version data should be designated for storage in registers that are either read-only or have access controls that prevent modification by an untrusted agent.

### Implementation

During implementation and test, security version data should be demonstrated to be read-only and access controls should be validated.

## Detection methods

### Automated Dynamic Analysis

Mutability of stored security version numbers and programming with older firmware images should be part of automated testing.

Effectiveness: High

### Architecture or Design Review

Anti-roll-back features should be reviewed as part of Architecture or Design review.

Effectiveness: High

## Demonstrative examples

### Example 1

A new version of firmware is signed with a security version number higher than the previous version. During the firmware update process the SoC checks for the security version number and upgrades the SoC firmware with the latest version. This security version number is stored in persistent memory upon successful upgrade for use across power-on resets.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-104619 | PackageKit ZYpp rollback vulnerability | high | 7.8 | - | No | 2026-11-10 |
| CVE-2025-5825 | Autel MaxiCharger AC Wallbox Commercial Firmware Downgrade Remote Code Execution Vulnerability | high | 7.5 | - | No | 2025-06-25 |
| CVE-2025-8321 | Tesla Wall Connector Firmware Downgrade Vulnerability | medium | 6.8 | - | No | 2025-07-30 |
| CVE-2026-81051 | - | medium | 6.6 | - | No | 2026-09-10 |
| CVE-2025-29989 | - | medium | 4.4 | - | No | 2025-04-10 |
| CVE-2024-13870 | Unauthenticated Firmware Downgrade in Bitdefender Box v1 | low | 1.8 | - | No | 2025-03-12 |

## Related attack patterns (CAPEC)

- [CAPEC-176](https://radicalnotion.ai/capec/capec-176): Configuration/Environment Manipulation

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-285](https://radicalnotion.ai/cwe/cwe-285) | Improper Authorization |
| Peer | [CWE-757](https://radicalnotion.ai/cwe/cwe-757) | Selection of Less-Secure Algorithm During Negotiation |

## Frequently asked questions

### What is CWE-1328?

The security version number in the hardware product is mutable, resulting in the ability to downgrade (roll-back) the boot firmware to vulnerable code versions.

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

6 recorded CVEs are attributed to CWE-1328, including CVE-2026-104619, CVE-2025-5825 and CVE-2025-8321.

### How do you prevent CWE-1328?

The security version number must be stored securely and persistently across power-on resets. When architecting the system, security version data should be designated for storage in registers that are either read-only or have access controls that prevent modification by an untrusted agent.

### How is CWE-1328 detected?

Automated Dynamic Analysis: Mutability of stored security version numbers and programming with older firmware images should be part of automated testing.

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

Exploiting CWE-1328 can lead to: Other, Alter Execution Logic, Unexpected State.

### Is CWE-1328 actively exploited?

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

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

---

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