logo
Home/CWEs/CWE-1106/

CWE-1106 - Insufficient Use of Symbolic Constants

  • Abstraction:Base
  • Structure:Simple
  • Status:Incomplete
  • Release Date:2019-01-03
  • Latest Modification Date:2024-02-29

Weakness Name

Insufficient Use of Symbolic Constants

Description

The source code uses literal constants that may need to change or evolve over time, instead of using symbolic constants.

This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.

Common Consequences

Scope: Other

Impact: Reduce Maintainability

Related Weaknesses

CWE-1078Inappropriate Source Code Style or Formatting