---
title: "Memory safety"
description: "Memory-safety bugs and mitigations, safe languages for security"
url: "https://swe.quest/tags/memory-safety?per=12"
---

# Memory safety

Topic in Security: Memory-safety bugs and mitigations, safe languages for security

By difficulty: [Easy](https://swe.quest/tags/memory-safety.md?difficulty=easy) · [Medium](https://swe.quest/tags/memory-safety.md?difficulty=medium) · [Hard](https://swe.quest/tags/memory-safety.md?difficulty=hard)

Posts 1–12 of 33, page 1 of 3, newest first.

## 2026-11-20

- [How Cloudflare WAF protects against ruby2shell (CVE-2026-132825)](https://swe.quest/articles/how-cloudflare-waf-protects-against-ruby2shell-cve-2026-132825-7727483822350470.md): Cloudflare · 2026-11-20 · Medium · 6 min read · Vulnerability research, Ruby, Application security, Memory safety
  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.
- [nginx2root: Five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them](https://swe.quest/articles/nginx2root-five-new-nginx-vulnerabilities-and-how-cloudflare-protects-origins-d1432ea077df3a49.md): Cloudflare · 2026-11-20 · Medium · 22 min read · Vulnerability research, Memory safety, Networking, CDN & edge, Security
  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.

## 2026-11-18

- [How Cloudflare WAF helps protect against Java4Shell (CVE-2026-114938)](https://swe.quest/articles/how-cloudflare-waf-helps-protect-against-java4shell-cve-2026-114938-001767259b988fdd.md): Cloudflare · 2026-11-18 · Medium · 9 min read · Vulnerability research, Memory safety, Java & JVM, Application security
  Java4Shell (CVE-2026-114938, CVSS 9.2) is a memory-corruption bug in OpenJDK's AVX-512 Base64 decoder intrinsic.

## 2026-11-13

- [Crystal 1.22.3 is released!](https://swe.quest/articles/crystal-1-22-3-is-released-eaa59fe6cd70a78c.md): Crystal Blog · 2026-11-13 · Medium · 2 min read · Application security, Networking, Memory safety
  Crystal 1.22.3 is a patch release of 14 changes from 4 contributors, focused on security fixes and regressions.

## 2026-10-21

- [php2shell: patching PHP is easy, finding it is the hard part](https://swe.quest/articles/php2shell-patching-php-is-easy-finding-it-is-the-hard-part-9a45e6f935b2d2f4.md): Sourcegraph · 2026-10-21 · Medium · 5 min read · PHP, Vulnerability research, Supply chain security, Incidents & postmortems, Memory safety
  PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two unauthenticated RCE memory-safety bugs (CVE-2026-109618/109619, dubbed php2shell) in the request lifecycle, reachable on mod\_php via a crafted multipart POST before application code runs.

## 2026-09-30

- [Memory safety for Postgres extensions in C/C++](https://swe.quest/articles/memory-safety-for-postgres-extensions-in-c-c-b6883b8eb3b1e33d.md): ClickHouse · 2026-09-30 · Hard · 4 min read · PostgreSQL, Memory safety, C & C++, Memory management
  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.

## 2026-09-22

- [Fearless SIMD v1.0 is here](https://swe.quest/articles/fearless-simd-v1-0-is-here-423b1f4fe64019b8.md): Linebender · 2026-09-22 · Easy · 4 min read · Rust, Performance engineering, Memory safety, Open source
  Fearless SIMD v1.0 is a Rust crate for SIMD with no ad-hoc unsafe code.

## 2026-09-09

- [A “proof” of Fermat’s Last Theorem that fits the margin](https://swe.quest/articles/a-proof-of-fermat-s-last-theorem-that-fits-the-margin-b44a4aebaeb677ac.md): Trail of Bits · 2026-09-09 · Hard · 2 min read · Vulnerability research, Formal methods, Memory safety, Compilers
  A bug in Lean's String.Pos.Raw.extract let a bogus "proof" of Fermat's Last Theorem typecheck.

## 2026-08-31

- [OEMpocalypse Now](https://swe.quest/articles/oempocalypse-now-03c3b44da052b656.md): Calif · 2026-08-31 · Hard · 1 min read · Vulnerability research, Mobile, Security, Memory safety, Sandboxing & isolation
  A root strategy for Android targets code that Samsung, Xiaomi and Oppo build on top of Android—One UI, HyperOS and ColorOS—rather than generic Linux kernel bugs or chipset drivers, so one approach can span each OEM's lineup regardless of silicon.
- [This Month in Ladybird - August 2026](https://swe.quest/articles/this-month-in-ladybird-august-2026-e7183d3f3eaa522b.md): Ladybird · 2026-08-31 · Hard · 13 min read · Browsers, Performance engineering, Rust, Memory safety, CSS
  Ladybird's August 2026 progress centres on a sustained engine performance push.

## 2026-08-24

- [Intent to Ship: JPEG XL](https://swe.quest/articles/intent-to-ship-jpeg-xl-8daff64ea64e35d6.md): Mozilla Hacks · 2026-08-24 · Easy · 3 min read · Browsers, Web performance, Rust, Memory safety
  Firefox intends to ship JPEG XL support, built on jxl-rs, a Rust decoder written by Google Research in place of the earlier 100,000-line multithreaded C++ library to reduce attack surface.

## 2026-08-06

- [The Taking of FreeBSD One Two Three](https://swe.quest/articles/the-taking-of-freebsd-one-two-three-2232035e5e03b6d5.md): Calif · 2026-08-06 · Hard · 4 min read · Vulnerability research, Security, Operating systems, Memory safety
  FreeBSD's CTL High Availability mode exposes three unauthenticated remote root vulnerabilities: an arbitrary kernel read/write primitive in the HA DATA channel, a write-only pointer bug in DATAMOVE, and a heap overflow in the DATAMOVE scatter-gather copy loop.

[Next page](https://swe.quest/tags/memory-safety.md?per=12&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=memory-safety](https://swe.quest/feed.xml?tag=memory-safety). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
