Get the latest tech news

How memory safety CVEs differ between Rust and C/C++


CVE is a database used for categorizing and reporting security vulnerabilities in software. There are various kinds of vulnerabilities that can be reported. Some of them are caused simply by bugs in the program logic (like a recent CVE reported in Cargo), but some of the most nasty ones are caused by memory unsafety, which can easily lead to exploits. In this post I want to focus on the latter kind of CVEs, how they are reported, especially in libraries, and how it differs between Rust and C or C++.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Photo of C++

C++

Photo of Memory safety CVEs

Memory safety CVEs

Related news:

News photo

Stdx, Rust's extended standard library

News photo

Zinnia: A modular 64-bit Unix-like kernel written in Rust

News photo

Yserver: A modern X11 server written in Rust