Skip to content

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

Memory safety Remove topic Memory safety 33 posts RSS

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

The quest for software engineering knowledge.

Look:
Layout: