Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Security

Memory safety

Memory-safety bugs and mitigations, safe languages for security.

Search within Memory safety, or combine it with other topics →

November 2026

Cloudflare

How Cloudflare WAF protects against ruby2shell (CVE-2026-132825)

Announcement 6 min +60 XP

ruby2shell (CVE-2026-132825) is a heap buffer overflow in Ruby's string case conversion: in 14 legacy single-byte encodings, uppercasing the German ß writes two bytes (SS) but reserves room for one, so 21 sharp s characters overflow by a byte, with proofs of concept reaching remote code execution.

Cloudflare

nginx2root: Five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them

Deep dive 22 min +220 XP

nginx2root is five memory-corruption bugs in nginx (HTTP/2 flow-control integer overflow, plus use-after-frees in HTTP/2 and HTTP/3 upstream handling, the resolver with subrequests, and the mail proxy), paired with an unpatched Linux SCTP use-after-free that escalates a worker compromise to root, even from inside Docker.

October 2026

September 2026

ClickHouse

Memory safety for Postgres extensions in C/C++

Case study 4 min +40 XP

Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.

August 2026

July 2026

Calif

Apple MIE exploitation challenge

Deep dive 8 min +80 XP

A public bypass of Apple MIE on macOS 26.4.1 chains two kernel bugs: an SMB create-context type confusion (CVE-2026-64704) in which a malicious server replies with a lease context and the parser reinterprets the client's Resolve ID object as a lease, and a WebDAV information leak (CVE-2026-64699) where the kext copies the full requested length from an uninitialized buffer after accepting an empty successful HTTP response.

Calif

Journey to Root, Episode I: The Maglev King

Research 46 min +460 XP

A three-person team used AI assistants to discover and weaponize a five-vulnerability Google Chrome exploit chain, including a Maglev representation-confusion bug that causes incorrect write-barrier elision, a JavaScript Promise Integration sandbox escape, and an ExternalOneByteString information leak.

June 2026

May 2026

April 2026

January 2026

October 2025

The quest for software engineering knowledge.

Look:
Layout: