The 3 least secure programming languages


In debates over the best and worst programming languages to learn, security is often a factor used to support one language or discredit another, according to a Tuesday report from WhiteSource. But which languages are the most and least secure in the end?

To answer this question, the report compiled information from WhiteSource’s database, which aggregates information on open source vulnerabilities from sources including the National Vulnerability Database (NVD), security advisories, GitHub issue trackers, and popular open source projects issue trackers. Researchers focused in on open source security vulnerabilities in the seven most widely-used languages of the past 10 years to learn which are most secure, and which vulnerability types are most common in each.

Here’s how the seven most widely-used coding languages stack up when it comes to the total open source security vulnerabilities per language, according to the report:

  1. C (47%)
  2. PHP (17%)
  3. Java (11%)
  4. JavaScript (10%)
  5. Python (5%)
  6. C++ (5%)
  7. Ruby (4%)

Read more…