Let's assume this is true, and ignoring the fact that it's not possible for more than 1 language to have >50% of the vulnerabilities, we are left pondering what proportion of the worlds software is written in C. If it's >90%, then C is safer than average :)
https://nvd.nist.gov/vuln/detail/cve-2023-53161
https://nvd.nist.gov/vuln/detail/cve-2023-53161
https://www.sentinelone.com/vulnerability-database/cve-2026-...
https://nvd.nist.gov/vuln/detail/cve-2026-71560
https://www.invicti.com/web-application-vulnerabilities/pyth...
I don't think the average C dev isn't aware that the language has pitfalls, especially around memory management.
Also a lot of these problems are because C is used everywhere and has been for so long. Not because people are blind to it's problems.
inanutshellus•37m ago
freehorse•35m ago
dgacmu•35m ago
[1] https://en.wikipedia.org/wiki/%27No_Way_to_Prevent_This,%27_...
sheauwn•34m ago