CWE-509: Replicating Malicious Code (Virus or Worm)
Replicating malicious code, including viruses and worms, will attempt to attack other systems once it has successfully compromised the target system or the product.
Last updated
Overview
CWE-509 (Replicating Malicious Code (Virus or Worm)) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
2 recorded CVEs are caused by CWE-509 (Replicating Malicious Code (Virus or Worm)). The highest-severity and most recent are shown first. 1 new CWE-509 CVE has been recorded so far in 2026.
Common consequences
What can happen when CWE-509 is exploited.
Execute Unauthorized Code or Commands
Affects: Confidentiality, Integrity, Availability