The product does not follow certain coding rules for development.
Select and require coding standards. Ensure that they include security concerns.
Closely follow coding standards, possibly enforcing them upon checkin of the code into a source control system or with periodic analyses.
This can lead to resultant weaknesses or increase the severity of the associated vulnerabilities.
Automated tools can detect violations of many code standards.