01What happened

The story, straight

A new technical analysis by developer Jakub Beránek, published June 15, argues that comparing raw CVE counts between Rust and C/C++ is misleading because the nature of memory-safety vulnerabilities differs fundamentally between the two languages. The post explains that Rust's ownership and borrowing model prevents entire classes of memory errors that plague C/C++ codebases — particularly those caused by manual memory management and pointer arithmetic — while Rust CVEs that do exist tend to stem from logic bugs or unsafe code blocks rather than systemic memory unsafety. Beránek notes he encounters this flawed comparison both online and when teaching Rust to C/C++ programmers.

A developer published a detailed breakdown showing that when people compare CVE counts between Rust and C/C++, they're comparing apples to oranges. Rust's ownership model prevents the kinds of deep memory-unsafety exploits that C/C++ is known for — its CVEs tend to be logic bugs or issues in \`unsafe\` blocks, not the pointer-arithmetic nightmares that make C/C++ a security liability. The author says he keeps

02Spread timeline

Where it actually started

Jun 15, 2026Origin
Jakub Beránek publishes detailed analysis comparing memory-safety CVE characteristics in Rust vs. C/C++.Beránek drops the analysis on his blog, picked up by HN
source
Jun 15, 2026
Post shared on Mastodon #tech by @sagalinked, linking back to the blog post.@sagalinked shares it on mastodon #tech
source

03Source receipts

Every claim, linked

04What's solid, what isn't

What's solid and what isn't

Confirmed
  • Jakub Beránek published an analysis on June 15, 2026 comparing memory-safety CVE characteristics between Rust and C/C++.
  • Rust's ownership model prevents entire classes of memory errors common in C/C++.
  • The post addresses a recurring online debate about raw CVE count comparisons between the two languages.
Disputed
  • The specific CVE counts and statistical breakdowns referenced in the full post body (body text was truncated in the source).

05Why it matters

The editorial take

The Rust-vs-C++ security debate is a live one in the software industry, with major projects like Android, Chromium, and the Linux kernel actively migrating memory-safe components to Rust. Misleading CVE comparisons are frequently cited by skeptics to argue against Rust adoption. A clear-eyed breakdown of what these CVEs actually look like helps developers and organizations make better migration decisions.

the security world has been arguing about this for years — every time someone posts 'Rust has CVEs too!!' it goes viral. this is basically a receipts-backed debunk. matters because chromium, android, and the linux kernel are all actively moving code to rust, and bad CVE math could slow that down.