Cyber Resilience

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: 04 July 2026 00:28 UTC

OWASP Top 10 for Web (2025)

This weakness contributes to A02:2025 Security Misconfiguration.

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-2019-148377.09.10.01722020-01-07
CVE-2023-17127.09.80.00842023-03-30
CVE-2025-302067.09.80.00722025-04-15
CVE-2026-282567.09.80.00272026-03-12
CVE-2024-398885.57.50.00242024-07-09
CVE-2024-320211.63.90.00962024-05-14
CVE-2025-23253 UPD1.52.50.00142025-04-22