Mehdi Akiki

Posts tagged "memory safety"

  • Published on
    A 16-line program without unsafe reads a String after it is dropped. Every Rust on my laptop accepts it, and variants compile back to Rust 1.4 from 2015. I looked at the dead memory with gdb and AddressSanitizer, and found the check that the borrow checker skips.
  • Published on
    PHP2Shell is two memory bugs in PHP's C core, CVE-2026-109618 and CVE-2026-109619. This short course explains what the bugs are, why no login is needed and why they can fire before your code runs, what to update today, and why the same use-after-free is a compile error in safe Rust.