CWE-1257: Improper Access Control Applied to Mirrored or Aliased Memory Regions
4 CVEs have CWE-1257 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 0.712%.
Aliased or mirrored memory regions in hardware designs may have inconsistent read/write permissions enforced by the hardware.
A common security weakness that can exist in such memory mapping is that aliased memory regions could have different read/write access protections enforced by the hardware such that an untrusted agent is blocked from accessing a memory address but is not blocked from accessing the corresponding aliased memory address. Such inconsistency can then be used to bypass the access protection of the primary memory block and read or modify the protected memory. An untrusted agent could also possibly create memory aliases in the system address map for malicious purposes if it is able to change the mapping of an address region or modify memory region sizes.
Child of CWE-284: Improper Access Control
Mitigations
- Architecture and Design Implementation: The checks should be applied for consistency access rights between primary memory regions and any mirrored or aliased memory regions. If different memory protection units (MPU) are protecting the aliased regions, their protected range definitions and policies should be synchronized.
- Architecture and Design Implementation: The controls that allow enabling memory aliases or changing the size of mapped memory regions should only be programmable by trusted software components.
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-1257'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-1257'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).