Cyber Posture

CWE · MITRE source

CWE-547Use of Hard-coded, Security-relevant Constants

Abstraction: Base · CVEs in our corpus: 11

The product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change.

If the developer does not find all occurrences of the hard-coded constants, an incorrect policy decision may be made if one of the constants is not changed. Making changes to these values will require code changes that may be difficult or impossible once the system is released to the field. In addition, these hard-coded values may become available to attackers if the code is ever disclosed.

Last updated: 09 May 2026 03:25 UTC

NIST 800-53 r5 controls that address this weakness (0)AI

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2023-17122.09.80.00512023-03-30
CVE-2025-302062.09.80.00102025-04-15
CVE-2026-282562.09.80.00052026-03-12
CVE-2019-148371.99.10.01012020-01-07
CVE-2024-398881.57.50.00192024-07-09
CVE-2024-320210.83.90.00022024-05-14
CVE-2025-232530.52.50.00072025-04-22
CVE-2024-418850.00.00.00582024-12-24
CVE-2025-20790.00.00.00202025-03-13
CVE-2025-20810.00.00.00192025-03-13
CVE-2025-491510.00.00.00722025-06-25