A flaw in a component or system that can cause the component or system to fail to perform its required function, e.g. an incorrect statement or data definition. A bug, if encountered during execution, may cause a failure of the component or system.
Terms of Software Testing (ISTQB)