CWE-1231: Improper Prevention of Lock Bit Modification
The product uses a trusted lock bit for restricting access to registers, address regions, or other resources, but the product does not prevent the value of the lock bit from being modified after it has been set.
Last updated
Overview
CWE-1231 (Improper Prevention of Lock Bit Modification) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Background
In integrated circuits and hardware intellectual property (IP) cores, device configuration controls are commonly programmed after a device power reset by a trusted firmware or software module (e.g., BIOS/bootloader) and then locked from any further modification. This behavior is commonly implemented using a trusted lock bit. When set, the lock bit disables writes to a protected set of registers or address regions.
Real-world CVEs
4 recorded CVEs are caused by CWE-1231 (Improper Prevention of Lock Bit Modification). The highest-severity and most recent are shown first. 1 new CWE-1231 CVE has been recorded so far in 2026 (1 in 2025).