by cjbprime · 2w ago · 0 comments
==
Top 10 CWEs (2025 Ranking)
Rank ID Weakness Name Score
1 CWE-79 Cross-site Scripting (XSS) 60.38
2 CWE-89 SQL Injection 28.72
3 CWE-352 Cross-Site Request Forgery (CSRF) 13.64
4 CWE-862 Missing Authorization 13.28
5 CWE-787 Out-of-bounds Write 12.68
If an OOB write happens, it is likely to be investigated and solved quickly because the most likely symptoms are going to be memory corruption or a crash. These are super high impact symptoms.
If an XSS or SQLi is present, there is not necessarily any symptom until some security researcher probes the code.
The dichotomy allows for vastly more memory corruption issues to both be created and found+fixed early before there is a CVE reported for that product.
What most people are missing here is that the article didn't need to restrict the memory corruption "to the internet". If you include all of the embedded devices that are not internet enabled and that run on C code, it's much more likely to be a true statement.
Also, the pedantry in this thread is boring. If people actually bothered to understand the intent of what was being written rather than the imperfect communication, this thread wouldn't need to exist.
Trivially yes? It'd be a rate of some ilk at least. Upthread, to their credit, was a "score" of undefined nature.
But also, more upthread is talking about "memory corruption", which is going to include far more than just CWE-787. CWEs are a bit weird, and things I'd include in a loose colloquail definition like that would include stack based overflows, heap based overflows (which are for some reason different in CWE land), "classic buffer overflows" (CWE-120, again, their wording), out of bounds writes, OoB reads, null derefs, and use-after-free. All separate CWEs.
It's very weird to look at a memory corruption RCE and say SQLI is "more common". On typical web targets, memory corruption RCE is basically unheard of (and SQLI is not the most common sev:hi vulnerability; SSRF probably outranks it).
These are just vulnerability researchers talking like vulnerability researchers.
Here's another way to put it: well over 90% of all vulnerabilities with a market value are rooted in memory corruption.
† There are, of course, platform-level SQLI vulnerabilities; they're just quite rare.
For example, one of many different ways of looking at this issue: perhaps by "...vulnerabilities on the Internet" they could have meant in reference to reported CVEs, or number/type of reported exploits being found in the wild, or not even something related to the Internet itself at all, like security issues found in local/desktop applications, among many other things. We just don't know.
The CWE count is by reference to reported CVEs. If they meant that, they were wrong.