Abstract
Since December 2023, CISA, the NSA, the FBI and their Five Eyes partners have asked software makers to publish memory safety roadmaps, and CISA and the FBI later recommended, in voluntary guidance, that makers of existing products used in critical infrastructure or national critical functions publish one by the end of 2025. The case rests on a handful of vendor statistics, chiefly Microsoft’s and Chromium’s “70 percent” and Google’s report that memory safety flaws fell from 76 percent of Android vulnerabilities in 2019 to 24 percent in 2024, then below 20 percent in 2025. This article examines what those numbers measure, what a vulnerability-lifetime model says about the age of code, and what memory-safe languages do and do not guarantee. The evidence supports a default ordering: write new code in a memory-safe language, prioritize rewriting small, exposed components such as parsers, and harden the rest. For the C and C++ that stays, hardened standard libraries, allocator and pointer defenses, sandboxing, memory tagging and CHERI each buy measurable protection at reported cost. Cheaper AI-assisted bug finding may make leaving old unsafe code untouched a riskier bet than the half-life model alone suggests.
Why memory safety became policy
The 70 percent figures and what they count
Microsoft reported a figure of about 70 percent. In a February 2019 BlueHat IL presentation, Matt Miller of the Microsoft Security Response Center (MSRC) showed that “~70% of the vulnerabilities addressed through a security update each year continue to be memory safety issues”, across patch years 2006 to 2018.1 The deck states its scope at the outset: Microsoft remote code execution, elevation of privilege and information disclosure vulnerabilities “addressed via a software update”. An MSRC blog post in July 2019 restated it as “~70% of the vulnerabilities Microsoft assigns a CVE each year continue to be memory safety issues”, and added that the problem was “getting worse” as Microsoft’s code base and its use of open source grew.2
Chromium’s figure has a different denominator. The project’s memory safety page says “around 70% of our high severity security bugs are memory unsafety problems”, half of them use-after-free, based on 912 high or critical severity bugs since 2015 that affected the Stable channel.3 Other figures circulate with other scopes. The joint roadmap guidance relays two of them.4 The Mozilla figure comes from Diane Hosfelt’s 2019 analysis of Firefox’s style component, one part of the browser: of its 34 critical or high security bugs, 32 were memory-related.5 The Project Zero figure comes from Maddie Stone’s review of in-the-wild zero-days detected and disclosed in 2021: 39 of the 58, or 67 percent, were memory corruption vulnerabilities.6 Compilations such as the one kept by Prossimo, the Internet Security Research Group’s memory safety project, set several such estimates side by side, but they do not share a denominator.7
Each number has its own denominator, and each is narrower than its citations suggest. Microsoft’s counts fixed CVEs in three impact classes for Microsoft products, so it excludes bugs never found, bugs found but never assigned a CVE, and lower-impact classes. Chromium’s counts high and critical bugs that reached the Stable channel, in one product. Neither measures the share of memory safety issues across software in general. What the Microsoft series does show is a share near 70 percent that persisted across patch years 2006 to 2018.1 The December 2023 joint guidance says the same thing in its own words: “two-thirds of reported vulnerabilities in memory unsafe programming languages still relate to memory issues.”4
The class matters because of what it can give an attacker. Depending on the bug, its reachability and the mitigations in place, an out-of-bounds write or use-after-free can corrupt data, crash the process or let an attacker execute code; MITRE’s entries for these weaknesses list unauthorized code execution among the possible consequences, and an out-of-bounds read can disclose memory.8910 The White House Office of the National Cyber Director (ONCD) report of February 2024 traces the class from the Morris Worm of 1988 through Slammer in 2003 and Heartbleed in 2014 to the BLASTPASS chain of 2023, and divides it into spatial issues (accesses outside an object’s bounds) and temporal ones (accesses outside an object’s lifetime, such as use after free).11 In MITRE’s taxonomy these include CWE-787 (out-of-bounds write), CWE-125 (out-of-bounds read) and CWE-416 (use after free); the library’s guide to CVE, CWE and CAPEC explains how those classes are assigned.
What the guidance asks for
The Case for Memory Safe Roadmaps, published on 6 December 2023 by CISA, the NSA, the FBI and the cyber agencies of Australia, Canada, the United Kingdom and New Zealand, is the core document on roadmaps.4 It asks manufacturers to publish a roadmap with six elements:
- Defined phases with dates and outcomes, such as evaluating memory safe languages (MSLs), piloting a component, threat modeling “to find the most dangerous memory unsafe code”, and refactoring.
- A date for MSLs in new systems: “Publish the date after which the company will write new code solely in an MSL.”
- An internal developer training and integration plan.
- An external dependency plan for C and C++ libraries, since “a memory safe roadmap will not be complete without including OSS”.
- A transparency plan, with updates “perhaps quarterly or semi-annual”.
- A CVE support plan, committing to “supplying CWEs for 100 percent of CVEs”.
It also urges executives to name, publicly, a business leader who will drive the work. The sixth element is easy to skim past and arguably the most useful: without accurate CWE data, nobody outside the vendor can check whether its memory safety share is falling.
The ONCD report of February 2024 put the White House behind the same message and added two complements for settings where a language change is impractical: memory-safe hardware and formal methods. It singles out space systems, where determinism and the absence of a garbage collector matter, notes that Rust “has not yet been proven in space systems”, and says memory tagging “should not be considered a comprehensive solution to prevent all memory safety exploits.”11 (Formal methods sit at the far end of this spectrum; the library’s article on what a verified kernel proves covers what they guarantee and what they assume.)
The date came from CISA and the FBI’s Product Security Bad Practices, first released in October 2024 and revised in January 2025.12 For products used in service of critical infrastructure or national critical functions (NCFs), it calls new product lines in memory-unsafe languages “dangerous” where alternatives exist, and says manufacturers of existing products “should publish a memory safety roadmap by the end of 2025”, prioritizing components such as “network-facing code or code that handles sensitive functions like cryptographic operations”. The roadmap recommendation does not apply to products with an announced end-of-support date before 1 January 2030. The document is explicit that it is “non-binding” and “imposes no requirement”. In June 2024 CISA and partners had published an analysis of 172 critical open source projects: 52 percent contained code in a memory-unsafe language, and 55 percent of the total lines of code in the projects’ repositories were in such languages. In all three of its dependency case studies, projects written mainly in memory-safe languages depended on components written in memory-unsafe ones, and one of them, Distribution, also carried about 10,000 lines of memory-unsafe code in its own repository.13 In June 2025 CISA and the NSA followed with Memory Safe Languages: Reducing Vulnerabilities in Modern Software Development, which, in CISA’s summary, identifies the main obstacles to adoption and covers “language-level protections, library support, robust tooling, and developer training”.14
The evidence, examined
Android: the share falls as new code changes language
Google’s September 2024 post Eliminating Memory Safety Vulnerabilities at the Source, by Jeff Vander Stoep and Alex Rebert, is a central piece of evidence in this debate.15 The Android team began prioritizing memory-safe languages for new development around 2019. In Google’s snapshot figures, memory safety issues “accounted for 76% of Android vulnerabilities in 2019, and are currently 24% in 2024”. Over the reported interval the absolute count fell too, though not every year: 2023 saw a slight increase, which Google attributes to unusually high reporting that year, and the 2024 figure of 36 was an extrapolation from 27 at the time of the September bulletin.
The striking part is that most of Android’s code was still memory-unsafe. Google’s explanation is that “vulnerabilities decay exponentially. They have a half-life.” If most vulnerabilities live in recently written or modified code, then stopping the flow of new unsafe code reduces the vulnerability rate even while the stock of old unsafe code stays large or grows.
The November 2025 follow-up, Rust in Android: move fast and fix things, extends the series.16 It reports memory safety vulnerabilities “falling below 20% of total vulnerabilities for the first time” in 2025, across first-party and third-party code in C, C++, Java, Kotlin and Rust. It estimates Rust’s memory safety vulnerability density at 0.2 per million lines (one potential vulnerability in roughly 5 million lines, found before release), against a historical C and C++ density “closer to 1,000 memory safety vulnerabilities per MLOC”, which it calls “a more than 1000x reduction”.
Why the age of code matters
The academic basis is Alexopoulos and colleagues at TU Darmstadt, How Long Do Vulnerabilities Live in the Code?, at USENIX Security 2022.17 Of 5,914 CVEs with available fixing commits across 11 open source projects, 5,436 had usable lifetime data. For 1,171, the authors used known introduction commits. For the others, they estimated lifetimes with a heuristic that starts from the fixing commits. The average vulnerability lifetime was about four years, varying widely: about two years for Chromium, about seven for OpenSSL. Lifetimes are approximately exponentially distributed, and within a project the authors found no statistically significant difference between vulnerability types. Vulnerable code lives shorter lives than non-vulnerable code, which the authors read as a sign of maturity.
The study measured introduction-to-fix lifetimes of CVEs that were eventually found; it did not estimate how many vulnerabilities remain undiscovered, or compare code age with code volume as predictors. Google’s argument adds a model: assume the same exponential distribution governs all of a cohort’s vulnerabilities, found or not. Then, if τ is the mean lifetime, the fraction of a cohort’s vulnerabilities remaining unfixed after t years is e^(−t/τ). With τ of four years, five-year-old code would retain about 29 percent of its original vulnerabilities; with τ of 2.5 years, about 14 percent. Google’s own modeled estimate is that five-year-old code has a 3.4 to 7.4 times lower vulnerability density than new code, the lower figure using the study’s lifetimes and the higher using lifetimes observed in Android and Chromium, which matches this arithmetic.15 The implied half-lives are roughly 2.8 and 1.7 years. Google’s simulation assumed a code base doubling every six years, an average lifetime of 2.5 years and a ten-year transition of new code to safe languages.15
Google draws two conclusions from the model: “The problem is overwhelmingly with new code”, and the returns on rewrites diminish as code gets older.15 Both are as strong as the model’s assumptions. A rewrite also produces new code, and nothing in the cited data measures how many non-memory bugs a memory-safe rewrite of mature code introduces.
What a sceptic should ask
Google’s Android data cover several years.
- One vendor, its own counting. Google decides what counts as a vulnerability, what severity it gets and how it is classified. The 2025 post says Android will now “issue CVEs of sufficient severity” for bugs that its Scudo allocator would block on Pixel but not on partner devices, a reasonable policy that also illustrates how counting rules move.16 Outsiders cannot recompute the series.
- Share versus count. A falling percentage can come from fewer memory bugs or more of everything else. Google reports both the share and the count, and the count fell over the reported interval, which addresses the objection for Android, but percentages alone in other vendors’ roadmaps should not be accepted without counts.
- Confounders. Android hardened its unsafe code at the same time. Google itself says the results were better than its simulation, “potentially as a result of our parallel efforts to improve the safety of our memory unsafe code.”15 The decline cannot be attributed to language choice alone.
- The lifetime model measures fixed bugs. Alexopoulos and colleagues measure the lifetimes of vulnerabilities that were eventually found and fixed, and they list the incompleteness of the NVD as a threat to validity.17 The observed distribution could reflect where researchers look. If discovery becomes cheaper in old code, the curve for old code can bend back up. The study also found that the introduction of fuzzers did not significantly reduce the lifetimes of memory-related vulnerabilities, a hint that discovery effort and code maturity are tangled together.
- Small numbers at the safe end. The Rust density estimate rests on one event in about 5 million lines. If bugs arrive as a Poisson process, the one-sided 95 percent exact upper bound for one observed event is about 4.7 events, or roughly 0.95 per million lines, for similarly observed Rust events under that model; the bound says nothing about the comparison with Google’s historical C and C++ estimate. That comparison, which Google reports as more than a thousandfold, has a further problem: the Rust figure counts one bug caught before release, the C and C++ figure is historical, and Google does not show that the two were found with matched effort or counted on the same basis.
- Process metrics and selection. Google’s 2025 post reports that, for medium and large changes, Rust’s rollback rate is “~4x lower than C++”, and that among first-party changes Rust changes of similar size need “about 20% fewer revisions” and currently spend “about 25% less time in code review”.16 Its September 2024 post had said “less than half”.15 Google compares similar-sized changes from overlapping pools of first-party developers, which controls for some bias; it does not measure whether the choice of components written in Rust, or their age, affects the comparison.
None of these objections reverses the result. They limit how far it can be generalized: the Android data show that a large organization with strong tooling, its own allocator and control over its build system saw memory safety bugs fall sharply over the reported interval while it moved new code to memory-safe languages and hardened the rest. They do not show what an ordinary vendor will achieve, and they say nothing about bug classes the language does not address.
Chrome and Microsoft
Chromium’s own diagnosis, on its memory safety page, is that its sandbox architecture is “reaching the limits” of what more processes can buy, especially on Android, and that it must “squash bugs at source” through safer C++ and a safe language.3 The 2025 Android post reports that Chromium has replaced its parsers for PNG, JSON and web fonts with Rust implementations.16 Google’s 2024 post adds a performance footnote: once its sandbox was no longer needed, Chromium’s Rust QR code generator ran 20 times faster.15
Microsoft’s 2019 blog post named Rust as “one of the most promising newer systems programming languages”.2 Microsoft has not, as far as this article could verify, published an Android-style time series of its memory safety share since the 2019 figures, so those figures remain a baseline without a measured outcome.
What memory-safe languages guarantee
Precisely stated
A memory-safe language prevents, in code that uses only its safe subset and assuming the compiler, runtime and any unsafe code beneath safe interfaces are sound, the spatial and temporal errors defined above: no access outside an object’s bounds, no access after an object’s lifetime ends. Prossimo’s list of memory-safe languages includes Rust, Go, C#, Java, Swift, Python and JavaScript.7 They reach temporal safety by different means. Some languages use a garbage collector that reclaims memory no longer in use at run time; Rust instead manages memory through ownership rules that the compiler checks,18 which makes it a candidate for code that previously had to be C or C++.
Safe Rust also guarantees the absence of data races, which the Rustonomicon defines as two or more threads accessing the same memory concurrently where at least one access is a write and at least one is unsynchronized. It is explicit about the limit: “Rust does not prevent general race conditions”, and a deadlock is “safe” in Rust’s sense.19
What they do not guarantee
Unsafe code. Systems code needs operations the compiler cannot check, such as dereferencing raw pointers, accessing hardware and calling into C. Rust requires an unsafe block or function for specific operations, such as dereferencing a raw pointer or calling another unsafe function,20 and safe interfaces can wrap such operations. Evans, Campbell and Soffa, at ICSE 2020, found the keyword used directly in fewer than 30 percent of Rust libraries, but more than half of libraries “cannot be entirely statically checked by the Rust compiler” because unsafe code sits somewhere in their call chain.21 Google estimates that “approximately 4%” of its Android Rust code is written within unsafe blocks, without saying how lines were counted, and report that even assuming an unsafe line is as buggy as a line of C++ “significantly overestimates the risk”, in part because unsafe “doesn’t actually disable all or even most of Rust’s safety checks” and encapsulation allows local reasoning.16
Unsafe code is where Rust’s memory safety failures appear. Android’s near-miss, CVE-2025-48530, was a linear buffer overflow in unsafe Rust in its CrabbyAVIF image decoder, caught before release and rendered non-exploitable by guard pages in the Scudo allocator.16 The first CVE for Rust code in the Linux kernel, CVE-2025-68260, published on 16 December 2025, was in the Rust Binder driver: an unsafe list removal whose safety comment assumed a node could only be in its owner’s list, which another code path violated, producing a data race on list pointers and memory corruption.22 Greg Kroah-Hartman, announcing it beside 159 CVEs for the kernel’s C code issued that day, said the bug “just causes a crash, not the ability to take advantage of the memory corruption”.23 The Linux CNA’s record, updated on 5 August 2026, takes a more serious view: it rates the issue High (CVSS 3.1 base score 7.8), with high confidentiality, integrity and availability impact, and describes local kernel privilege escalation as a potential consequence.24
Foreign function interfaces. At each boundary between Rust and C or C++, the programmer must establish that the foreign code honours the assumptions the safe Rust side relies on, because the compiler cannot check them. A sound wrapper or a correctly declared safe foreign function can expose the call to safe Rust. A mixed-methods study by McCormack and colleagues, interviewing 19 Rust developers and surveying 160 more, found that “limited tooling support for foreign function calls made participants uncertain about their design choices”, and that some foreign aliasing and concurrency patterns were hard to encapsulate safely.25 Google’s 2024 post makes interoperability the centre of its strategy (“Interoperability is the new rewrite”) and funds tools for it, which is an acknowledgment that the boundary is where the remaining engineering risk lives.15
Logic, injection and design flaws. A memory-safe language does nothing about authorization errors, injection or unsafe defaults. In April 2024 the Rust project disclosed CVE-2024-24576, rated critical for programs invoking Windows batch files with untrusted arguments: the standard library’s Command API did not properly escape arguments when invoking batch files on Windows, so an attacker who controlled them could execute arbitrary shell commands.26 Log4Shell (CVE-2021-44228), the Log4j flaw in which a JNDI lookup could be exploited to execute arbitrary code, was in Java code;27 the library’s article on Log4Shell at five covers it. The same Bad Practices document that set the roadmap date lists SQL injection, command injection and default passwords beside memory-unsafe languages.12
Arithmetic. In Rust, integer overflow panics in debug builds; in release builds compiled with --release, “Rust performs two’s complement wrapping” unless overflow checks are enabled explicitly.28 A wrapped length is not memory corruption in safe Rust, because indexing is still bounds-checked, but it can still be a logic bug, and in unsafe code it can become one.
Availability. When a safe language detects an invalid access, the access is rejected: checked APIs can return a failure value, as Rust’s slice::get returns None for an out-of-bounds index,29 or the program traps with a panic, exception or abort. Prossimo explains why trapping is preferred: “Crashing the program may seem severe, but it’s better than letting users steal each other’s data!”7 A trap contains the memory violation, but where an attacker can trigger it to cause a material service impact, in a kernel, a controller or a network appliance for example, it is itself an availability vulnerability.
Supply chain. CISA’s open source analysis found that memory-safe projects depend on memory-unsafe components.13 Rust’s package ecosystem also propagates unsafe code through dependencies, the finding at the heart of Evans and colleagues.21 A roadmap that counts only first-party lines overstates the safe share of the product.
Rust in the Linux kernel
Rust support arrived in the kernel as an experiment. At the Maintainers Summit in December 2025 the experiment was declared over: LWN reported on 10 December 2025 that “Rust in the kernel is no longer experimental — it is now a core part of the kernel and is here to stay.”30 Android’s 6.12 kernel is Google’s first with Rust support enabled and its first production Rust driver.16 The kernel is one example of a mixed arrangement: Rust for some new drivers and subsystems, with the existing C core remaining C.
The code that stays
The OpenSSF’s Compiler Options Hardening Guide for C and C++ cites one rough estimate of $2.4 trillion to rewrite it all, and quotes Google’s expectation that “a residual amount of mature and stable memory-unsafe code will remain for the foreseeable future”.31 The question for that code is which defenses to stack. The table summarizes the main options; costs are as reported by each source, measured in different ways, and are not comparable across rows.
| Measure | What it buys | Cost | Evidence |
|---|---|---|---|
Hardened standard library (libc++ fast mode, _GLIBCXX_ASSERTIONS, C++26 draft hardening) | Bounds and precondition checks on vector, span, string, optional and similar | Google measured 0.30% average across its server fleet | Over 1,000 bugs found, 30% fewer segfaults at Google32 |
Compiler hardening flags (_FORTIFY_SOURCE=3, stack protector, branch protection, auto-initialization) | Checks on some libc calls; stack-smashing detection; target-specific branch and return protection; zero-initialized automatic variables | Varies by flag and platform; some flags can break existing code | _FORTIFY_SOURCE widely enabled in Linux distributions31 |
-fbounds-safety for C | Deterministic traps on out-of-bounds access through checked pointers and compile-time rejection when an access cannot be checked | Annotation effort; design document says not yet available upstream | Adopted on “millions of lines of production C code”33 |
| Hardened allocators and pointer schemes (Scudo, typed allocators, MiraclePtr) | Make some heap overflows and use-after-free bugs harder to exploit | Memory overhead, some code rewriting | Google anticipated protecting about half of browser-process use-after-free issues34 |
| Sandboxing and privilege separation (processes, V8 sandbox, RLBox) | Contain a compromise to a low-privilege region | Processes are expensive; the V8 sandbox measured about 1% or less on V8’s benchmarks | Firefox pays bounties for bypassing RLBox; V8 sandbox in Chrome’s VRP3536 |
| Memory tagging (Arm MTE, Apple EMTE) | Probabilistic detection of some spatial and temporal errors in tagged memory | Hardware support, tag storage, silicon area | Apple’s offensive team could not rebuild the exploit chains it evaluated37 |
| CHERI capabilities | Deterministic checks of accesses against capability bounds, where the ABI and software set bounds to the intended region; heap temporal safety assumed from separate software in the desktop study | New hardware; first commercial microcontroller silicon announced in 202638 | 0.026% of 6 million lines changed in a desktop stack port39 |
| Safety profiles and subsets of C++ | Compile-time bans on unsafe constructs in opted-in code | Code changes, standard still in progress | Not in C++26; targeted at C++2940 |
Hardened standard libraries and bounds checks
One broad measure is to turn on bounds checking in the standard library. LLVM’s libc++ offers four hardening modes: none; fast, “a set of security-critical checks that can be done with relatively little overhead in constant time and are intended to be used in production”, which the project recommends for most projects; extensive; and debug, which “is not intended to be used in production”.41 GCC’s libstdc++ has _GLIBCXX_ASSERTIONS; the OpenSSF guide recommends it, or libc++’s fast mode, for most production C++, and notes that slowdowns of up to 6 percent have been reported for some libstdc++ versions.31
Google’s November 2024 post Retrofitting spatial safety to hundreds of millions of lines of C++ reported the results of making hardened libc++ the default across its server-side production systems, after deploying it in Chrome in 2022.32 The average performance cost was 0.30 percent. The checks “uncovered over 1,000 bugs”, Google estimates they “would prevent 1,000 to 2,000 new bugs yearly”, and fixing the bugs they surfaced cut the fleet’s baseline segmentation fault rate by 30 percent. Hardened libc++ also “disrupted an internal red team exercise”. The same post reports that, in Google’s manual analysis of in-the-wild exploits tracked by Project Zero from July 2014 to December 2023, spatial safety vulnerabilities accounted for 40 percent of memory safety exploits, with 11 percent of CVEs unclassified.
This approach is also in the C++26 draft. At the Hagenberg meeting in February 2025, the committee added standard library hardening to C++26.42 Herb Sutter’s report on the March 2026 meeting, where technical work on C++26 was first completed, describes “bounds safety for dozens of the most widely used bounded operations on common standard types, including vector, span, string, string_view”, and the end of undefined behavior for reading uninitialized local variables, which he says come “just by recompiling”.43 Two qualifications apply. The library checks are guaranteed only in a hardened implementation, and P3471 makes it implementation-defined whether an implementation is one, so readers must check their implementation and build configuration; the checks also cover only the preconditions the paper marks as hardened.44 The change for uninitialized variables, from P2795, makes such reads “erroneous behaviour” with defined semantics in the cases it covers, which removes undefined behavior without making the values meaningful.45 C++26 was also still a draft at the time of writing: its first ISO approval ballot did not pass, and in November 2026 the committee recompleted technical work and planned a second ballot.46 Sutter quotes the November 2025 ACM Queue account of Google’s operational experience with the rollout: across hundreds of millions of lines, “only five services opted out entirely”, and the fine-grained opt-out API “was used in just seven distinct places”.
The limit is coverage. A hardened library checks accesses through library types. Raw pointer arithmetic and C arrays remain unchecked, which is why Google describes hardened libc++ as only “the first step” and is migrating code to Safe Buffers, under which all accesses must be bounds-checked.32 For C, Clang’s -fbounds-safety extension attaches bounds to pointers with annotations such as __counted_by(N) so that out-of-bounds accesses through checked pointers trap deterministically at run time, or are rejected at compile time when the compiler lacks enough bounds information, while preserving the ABI; interoperation with plain C code remains possible. Its design document says it “has been adopted on millions of lines of production C code and proven to work in a consumer operating system setting”, while also noting that the feature “is not available for users yet” in upstream Clang.33
Compiler flags
The OpenSSF guide, most recently dated 20 August 2026, gives a baseline set of GCC and Clang options for all production C and C++.31 The memory-relevant ones include -D_FORTIFY_SOURCE=3, which adds bounds checks to common libc functions when the compiler can estimate object sizes, including sizes known only as expressions at run time; -fstack-protector-strong and -fstack-clash-protection; -fstrict-flex-arrays=3, which lets bounds instrumentation see the true size of trailing arrays; -fcf-protection=full on x86_64 and -mbranch-protection=standard on AArch64, target-specific protections against return-oriented and jump-oriented programming that are narrower than general control-flow integrity; and -ftrivial-auto-var-init=zero, which initializes automatic variables that lack explicit initializers, an initialization mitigation that does not detect uninitialized reads. The guide notes that most packages in all major Linux distributions enable at least _FORTIFY_SOURCE=2. These flags are mitigations in Google’s taxonomy, the “2nd generation” of memory safety strategy, which raises exploit cost without removing the bug.15 They are also the first thing to check in a vendor’s build: whether they are set shows whether the low-cost options have been applied before larger investments are planned.
Allocators and temporal mitigations
Retrofitting use-after-free protection means knowing, when an object is freed, whether any pointer to it remains, and pointers can be copied anywhere in a program. Chrome’s MiraclePtr, described in September 2022, rewrote more than 15,000 raw pointers into a raw_ptr<T> smart pointer backed by the BackupRefPtr algorithm: Chrome’s PartitionAlloc keeps a hidden reference count per allocation and quarantines freed memory while references remain.34 Enabled for the browser process on Windows and Android in Chrome 102, it was expected to protect “~50% of use-after-free issues against exploitation” in that process. The cost was 4.5 to 6.5 percent more browser-process memory on Windows and 3.5 to 5 percent on Android, plus small latency regressions, and it then protected only pointer fields in classes and structs.
Allocator design matters even where nobody rewrites pointers. Android’s Scudo allocator, through guard pages around secondary allocations, “deterministically rendered” the CrabbyAVIF overflow non-exploitable in that allocator configuration, and Google says it is working with partners to make Scudo mandatory.16 Apple’s typed allocators, kalloc_type in the kernel and xzone malloc in user space, segregate allocations by type so that a dangling pointer is less likely to alias a useful object.37
Sandboxing and privilege separation
Chromium’s Rule of Two is a design principle: pick no more than two of “untrustworthy inputs; unsafe implementation language; and high privilege.”47 Code that handles untrustworthy input in an unsafe language such as C++ should run at low privilege, and high-privilege code should not handle untrustworthy input in an unsafe language. This rule is the reason Chrome runs web content in sandboxed renderer processes, and the reason a Chrome compromise usually needs two bugs, one in the renderer and one to escape.34
Process sandboxes are expensive. Chromium notes that giving its network service one process per site or origin would “explode the number of processes” it needs.3 Two in-process approaches fill the gap. Chrome 123 reached the desktop Stable channel on 19 March 2024.48 On 4 April 2024 Samuel Groß of the V8 team announced that the V8 sandbox was eligible for Chrome’s Vulnerability Reward Program from that day, describing Chrome 123 as a sort of “beta” release for the sandbox; its goal is to isolate V8’s heap so that memory corruption there cannot spread to the rest of the process, and the team said a number of issues remained before it becomes a strong security boundary. Its overhead was “around 1% or less” on the Speedometer and JetStream benchmarks.36 The motivation is the team’s threat model. All Chrome exploits caught in the wild from 2021 to 2023 began with renderer memory corruption, 60 percent of them in V8, and V8 bugs are rarely classic memory errors but “subtle logic issues” that can then be exploited to corrupt memory. The team argues that a memory-safe language would likely prevent such a bug in hand-written runtime code but not when a JIT compiler emits faulty machine code, because the compiler is then itself part of the attack surface, and that memory tagging is of limited use in V8’s design because of side channels and because pointer compression leaves no room for tag bits. Firefox’s RLBox, announced for all platforms in December 2021, compiles libraries to WebAssembly and back to native code through wasm2c (Graphite, Hunspell and Ogg in Firefox 95, with Expat and Woff2 to follow in Firefox 96), which prevents the sandboxed code from jumping to unexpected parts of the host program and restricts the memory it can access; crossings between the two are explicit, and values coming back from the sandbox must be sanitized. Mozilla now pays bounties for bypassing the sandbox even without a bug in the library.35
Sandboxing does not remove bugs, and Google notes its recurring cost in performance and complexity.15 It is the right tool for code that cannot be rewritten soon and must handle hostile input: codecs, font and image parsers, document formats.
Memory tagging
Arm’s Memory Tagging Extension (MTE) lets software assign a 4-bit allocation tag to each 16-byte granule of memory and carry a 4-bit address tag in a pointer’s top byte; most memory access instructions raise an exception when the two differ, for memory mapped as tagged and when checking is enabled.49 Android’s documentation describes three modes: synchronous, which aborts immediately at the faulting access and which Android recommends for testing and for vulnerable production attack surfaces; asynchronous, which reports at the next kernel entry and is meant for low-overhead detection in well-tested code; and asymmetric, synchronous on reads and asynchronous on writes.50 When the allocator tags neighbouring and reused allocations differently, MTE can detect both out-of-bounds access and use-after-free; Android’s default policy assigns distinct tags to adjacent allocations, at some cost to use-after-free detection because only half the tag values are then available for each location.50
Tagging is probabilistic where tags are random. If the pointer’s tag and the tag of another checked granule were chosen independently and uniformly from all 16 values, an access from that pointer into that granule would see a tag collision, and go undetected, one time in sixteen, by simple arithmetic; real allocators reserve values and apply their own policies, and tags are eventually reused. Some errors are missed outright: Android’s documentation notes that MTE cannot detect an overflow within the same 16-byte granule.50 The protection also depends on the attacker not learning tags. Apple’s September 2025 announcement of Memory Integrity Enforcement (MIE) on the iPhone 17 and iPhone Air explains why Apple spent five years extending MTE before shipping it.37 It rejected asynchronous mode, which leaves “a race window open for attackers”; it worked with Arm on Enhanced MTE (EMTE), published in 2022, because original MTE did not check access from tagged to untagged memory; and it built Tag Confidentiality Enforcement against speculative-execution leaks, citing the published StickyTags and TikTag research showing that MTE on Google’s Pixel devices could be bypassed in Chrome and the Linux kernel. MIE combines Apple’s typed allocators with synchronous EMTE, protecting “the kernel and over 70 userland processes”. Apple reports that its offensive team, working from 2020 to 2025, “could not rebuild any” of the real-world exploit chains it evaluated to work around MIE, a result bounded to that evaluation, while acknowledging that some bugs, “for example, intra-allocation buffer overflows”, survive. These are a vendor’s own results on its own hardware, so they should be read with the same care as Google’s Android statistics.
CHERI
CHERI, developed since 2010 by the University of Cambridge and SRI International, extends conventional instruction sets with architectural capabilities for fine-grained memory protection and scalable compartmentalization.51 The Cambridge project describes capabilities as “hardware-supported descriptions of permissions” used “in place of integer virtual addresses” to refer to data, code and objects.52 Accesses through a capability are checked against its bounds, so where the ABI and software set those bounds to the intended region, spatial protection is deterministic, not probabilistic. Capability bounds alone do not provide temporal safety or full protection between fields inside one object. A 2021 study for the UK’s Digital Security by Design programme ported parts of X11, Qt and KDE to memory-safe CHERI C and C++ and measured a change rate of 0.026 percent of about 6 million lines.39 Its retrospective review of past vulnerabilities produced the study’s estimates of likely mitigation rates: of 91 percent for X11, 82 percent for Qt and 43 percent for KDE, assuming heap temporal safety through a separate technique, and the work was done in emulation, so it says little about performance.
A 2025 evaluation in which 15 industry and academic teams spent a year porting Defence-relevant software to Arm’s experimental Morello board reports practical experience at that scale.51 It found six kinds of blocker (dependencies, a knowledge premium, missing utilities, performance, platform instability and technical debt) and warned that, if poorly configured, CHERI could itself introduce weaknesses, including unsafe defaults and toolchain instability. It also found that porting improved code quality, with one team arguing that code destined for ordinary hardware could benefit from being tested on Morello. Commercial silicon is beginning to appear: SCI Semiconductor announced on 4 March 2026 first silicon availability of its ICENI microcontroller family, which it calls “the world’s first commercial CHERI implementation in silicon”.38 Morello itself was an experimental board, and a broad commodity CHERI ecosystem for general-purpose systems is a separate question.
Safer C++ subsets and profiles
The standards committee has debated two routes. Safety profiles, set out for C++ in Herb Sutter’s P3081 in October 2024, would let a translation unit opt into enforced rules for type, bounds, initialization, lifetime and arithmetic safety, with explicit local opt-out and without changing C++’s object model.53 P3390, Safe C++, by Sean Baxter and Christian Mazakas, proposed instead “a superset of C++ with a rigorously safe subset” carrying “the same strong safety guarantees as code written in Rust”, including borrow checking, implemented in his Circle compiler.54 At the November 2024 meeting the safety study group voted 19 for prioritizing profiles, 11 for both, 6 neutral and 9 for Safe C++.55
Profiles then missed C++26. Jonathan Müller’s report from Hagenberg in February 2025 records that the framework paper could not be forwarded because its per-translation-unit model fit poorly with header files, and that P3081 lacked an implementation and had unresolved rules, so it was redirected into a white paper.42 Sutter’s June 2026 report says the work now targets C++29.40 For a vendor writing a roadmap today, profiles are a future option. Hardened libraries and compiler warnings that ban specific constructs are available now.
A dissenting view, and its limit
Úlfar Erlingsson argued in March 2025 that “the most important security benefit of software memory safety”, that most bugs do not give attackers full control, “can be had for unmodified C/C++ software, without per-application effort”.56 His threat model is an attacker who has corrupted memory, and his aim is to “eliminate most of the combinatorial ways in which software with corrupted memory can execute” with four families of existing mechanisms: stack integrity, control-flow integrity, heap data integrity, and pointer integrity and unforgeability. The data in this article do not test that claim directly. Google’s libc++ figures measure the cost and bug yield of bounds checks, and Apple’s MIE results report an offensive team’s failure to rebuild specific exploit chains; neither measures how often a bug in unmodified C or C++ still yields full control under the mechanisms he proposes. A direct test would compare the exploitability of a fixed set of real bugs with and without those mechanisms. The distinction that matters for a roadmap is between preventing a bug and containing its consequences. Hardening and sandboxing contain; a memory-safe language prevents the class in safe code; neither stops new unsafe code from accumulating. Google, whose data this article relies on most, does both.
AI-assisted discovery changes the arithmetic
The vulnerability-lifetime argument for leaving old code alone assumes that the rate at which bugs are found in old code reflects how many remain. Cheaper discovery could weaken that assumption; whether it changes discovery rates in old code is, so far, a hypothesis.
On 1 November 2024 Google’s Project Zero and DeepMind described a flaw found by their Big Sleep agent, which the team believed to be the first public example of an AI agent finding a previously unknown exploitable memory-safety issue in widely used real-world software: an exploitable stack buffer underflow in SQLite, found by an LLM agent doing variant analysis on recent commits and fixed by the developers the same day, before it reached a release.57 SQLite’s own testing and OSS-Fuzz had not found it, and a subsequent 150 CPU-hour AFL run did not either. The team was careful: these are “highly experimental results”, and “a target-specific fuzzer would be at least as effective”. In November 2024 Google’s OSS-Fuzz team reported 26 new vulnerabilities found with AI-generated fuzz targets in projects that “already had hundreds of thousands of hours of fuzzing”, including CVE-2024-9143 in OpenSSL, which “has likely been present for two decades and wouldn’t have been discoverable with existing fuzz targets written by humans”.58 In final results DARPA announced on 8 August 2025, the AI Cyber Challenge finalists’ systems found 54 of 63 synthetic vulnerabilities across 54 million lines of code and patched 43, also finding 18 real vulnerabilities (6 in C code bases, 12 in Java) and producing 11 patches for them, at an average cost of about $152 per competition task.59
Three points follow, stated with the caution the sources themselves use.
First, the OpenSSL finding is a credible example of a long-lived bug in heavily scrutinized C: Google estimates it had likely been present for two decades, and it was found because AI-generated harnesses reached code that human-written ones did not.58 OpenSSL rated it Low severity, because in the protocols it knew of, the problematic inputs cannot be represented.60 The SQLite bug is different evidence: it was caught before it appeared in an official release, so it demonstrates the technique, not a change in how fast bugs are found in old code.57 Improved detection could change the observed age distribution of vulnerabilities, in either direction, and that warrants reassessing the assumption that old code is safe to leave alone; the available examples cannot say how large any error in the model is.
Second, the technique is symmetric. Big Sleep is explicitly motivated by attackers’ cost-effective use of variant analysis.57 If agents can review old C for variants of known bugs cheaply, attackers could do the same, and they need not disclose what they find.
Third, cheaper discovery helps defenders most where they can also fix cheaply. AIxCC’s systems patched as well as found, in competition conditions; DARPA’s cost per task is a competition figure, not a general cost comparison.59 For a vendor with a large legacy C code base, AI-assisted fuzzing and review are worth evaluating now, with capacity planned for more findings. For deciding what to rewrite, cheaper discovery, if it materializes, strengthens the case for removing unsafe code from the most exposed surfaces, where a newly discoverable bug is most valuable to an attacker.
What to do differently
For a vendor writing a roadmap
The CISA framework gives the structure; the evidence suggests what should go in it.4
- Set the new-code date first. Prioritizing new code is consistent with the Android series and Google’s model, though the series does not isolate how much of the decline came from language change rather than parallel hardening.15 Make the date specific to languages and components (“new services in Rust, Go or Java from a given release”), and say what exceptions require.
- Inventory by exposure, not by line count. Rank components by Rule of Two: which handle untrusted input, in an unsafe language, with privilege.47 Those are rewrite or sandbox candidates. Bad Practices names network-facing and cryptographic code as priorities.12
- Turn on the applicable low-cost hardening. Hardened standard library, the OpenSSF compiler baseline where the platform and code support it, a hardened allocator. Measure the overhead on the supported builds; Google’s 0.30 percent is one deployment’s server-fleet average, useful as a reference point.3231
- Plan interoperability as a product. At the FFI boundary the programmer, not the compiler, must establish soundness, and developers in one study reported that limited tooling support for foreign function calls left them uncertain about their design choices.25 Budget for bindings, review of every
unsafeblock, and training on soundness, as Google is doing.16 - Include dependencies. Count third-party C and C++ as well as first-party code; CISA’s dependency case studies show memory-safe projects inheriting unsafe components.13
- Publish counts as well as percentages, with CWEs. The sixth roadmap element exists so outsiders can check progress.4
For an engineering lead deciding what to rewrite
The evidence supports a narrow rewrite policy as the default. Rewrite small components with three properties: they parse untrusted input, they are reachable remotely or from low privilege, and their interfaces are narrow enough that the new code can replace the old without a sprawling FFI surface. Chromium’s PNG, JSON and font parsers are the model.16 Leave mature, stable, internal C++ in place under hardening and sandboxing. Google’s model predicts that vulnerability density falls with code age and does not estimate the non-memory bugs a rewrite could introduce.15 Treat new findings in an old component, from AI-assisted fuzzing or otherwise, as a reason to reassess it.58 This is a default ordering. A large exposed component that cannot be sandboxed, a poorly isolated dependency, or legacy code nobody can safely maintain may justify a larger rewrite; the roadmap guidance lists refactoring memory-unsafe code among its phases.4
Treat language change as one control among several. The 2025 Android post presents memory-safe languages as “only one part of a comprehensive memory safety strategy”, and its own near-miss was stopped by the allocator.16 Logic flaws, injection and authorization bugs continue in safe code; the secure development lifecycle covered in the library’s CISSP Domain 8 article still applies in full.
For a buyer reading a roadmap
A roadmap is a promise, and the Bad Practices document that asked for it is voluntary.12 Questions that separate substance from compliance theatre:
- Is there a date after which new code is written only in memory-safe languages, and which components does it cover?
- Which exposed components are being rewritten or sandboxed, and in what order?
- Is the standard library hardened in production builds, and are the OpenSSF compiler options in use?
- How are third-party C and C++ dependencies counted and handled?
- Does the vendor publish CWE-tagged vulnerability counts year by year, stating the denominator (which products and releases, first-party only or including third-party code), the severity threshold and any changes in triage or disclosure policy, so that a claimed decline can be checked?
- Who is the named executive accountable, as the joint guidance asks?4
Answers with dates and numbers let a buyer track progress over time; a bare percentage without a stated denominator cannot be checked.
Conclusion
The evidence for memory-safe languages is substantial and narrower than its advocates sometimes imply. Microsoft’s series shows memory safety issues at about 70 percent of the vulnerabilities it fixed in three impact classes across patch years 2006 to 2018, and Chromium reports a similar share of its high-severity bugs. Google’s Android snapshots report that, while new code moved to memory-safe languages and unsafe code was hardened in parallel, the memory safety share fell from 76 percent in 2019 to 24 percent in 2024 and below 20 percent in 2025. Most Android code was still memory-unsafe in the 2024 snapshot. The vulnerability-lifetime research offers a consistent account: observed lifetimes of fixed CVEs fit an exponential distribution, and Google’s model built on that finding implies that remaining vulnerabilities are concentrated in younger code, which makes new code a sensible first place for prevention. The research measures found bugs. The OpenSSL flaw found with AI-generated fuzz targets, which Google estimates had likely been present for two decades, is a reminder that old code is only as well examined as the methods applied to it; the SQLite case, caught before release, shows the technique rather than a change in rates.
For the code that stays, several options now have published measurements. Google measured an average 0.30 percent cost for a hardened standard library across its server fleet, and hardening is in the C++26 draft; allocator defenses, sandboxes and synchronous memory tagging can trap or contain some bugs within their coverage, though no cited source measures how many residual bugs they stop in combination; CHERI checks accesses against capability bounds for systems that can adopt new hardware, now starting with microcontrollers. The defensible default roadmap writes new code safely, rewrites the few exposed parsers first, hardens everything else, and publishes the numbers that let others check it.
Footnotes
- Matt Miller, Trends, challenges, and shifts in software vulnerability mitigation (presentation slides, as titled in Microsoft’s MSRC-Security-Research repository), Microsoft Security Response Center, BlueHat IL, February 2019. https://github.com/microsoft/MSRC-Security-Research/raw/master/presentations/2019_02_BlueHatIL/2019_01%20-%20BlueHatIL%20-%20Trends%2C%20challenge%2C%20and%20shifts%20in%20software%20vulnerability%20mitigation.pdf (opens in a new tab) ↩1 ↩2
- MSRC Team, A proactive approach to more secure code, Microsoft Security Response Center blog, 16 July 2019. https://www.microsoft.com/en-us/msrc/blog/2019/07/a-proactive-approach-to-more-secure-code (opens in a new tab) ↩1 ↩2
- The Chromium Projects, Memory safety, chromium.org, accessed 28 November 2026 (UTC). https://www.chromium.org/Home/chromium-security/memory-safety/ (opens in a new tab) ↩1 ↩2 ↩3
- CISA, NSA, FBI, ASD’s ACSC, CCCS, NCSC-UK, NCSC-NZ and CERT NZ, The Case for Memory Safe Roadmaps: Why Both C-Suite Executives and Technical Experts Need to Take Memory Safe Coding Seriously, December 2023 (resource page dated 6 December 2023). https://www.cisa.gov/sites/default/files/2023-12/The-Case-for-Memory-Safe-Roadmaps-508c.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
- Diane Hosfelt, Implications of Rewriting a Browser Component in Rust, Mozilla Hacks, 28 February 2019. https://hacks.mozilla.org/2019/02/rewriting-a-browser-component-in-rust/ (opens in a new tab) ↩
- Maddie Stone, The More You Know, The More You Know You Don’t Know: A Year in Review of 0-days Used In-the-Wild in 2021, Google Project Zero, April 2022. https://projectzero.google/2022/04/the-more-you-know-more-you-know-you.html (opens in a new tab) ↩
- Prossimo, What is memory safety and why does it matter?, Internet Security Research Group, accessed 28 November 2026 (UTC). https://www.memorysafety.org/docs/memory-safety/ (opens in a new tab) ↩1 ↩2 ↩3
- MITRE, CWE-787: Out-of-bounds Write, Common Weakness Enumeration, accessed 28 November 2026 (UTC). https://cwe.mitre.org/data/definitions/787.html (opens in a new tab) ↩
- MITRE, CWE-416: Use After Free, Common Weakness Enumeration, accessed 28 November 2026 (UTC). https://cwe.mitre.org/data/definitions/416.html (opens in a new tab) ↩
- MITRE, CWE-125: Out-of-bounds Read, Common Weakness Enumeration, accessed 28 November 2026 (UTC). https://cwe.mitre.org/data/definitions/125.html (opens in a new tab) ↩
- Office of the National Cyber Director, Back to the Building Blocks: A Path Toward Secure and Measurable Software, The White House, February 2024. https://bidenwhitehouse.archives.gov/wp-content/uploads/2024/02/Final-ONCD-Technical-Report.pdf (opens in a new tab) ↩1 ↩2
- CISA and FBI, Product Security Bad Practices, version 2.0, revision dated 17 January 2025 (version 1.0, October 2024). https://www.cisa.gov/resources-tools/resources/product-security-bad-practices (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- CISA, FBI, ASD’s ACSC and CCCS, Exploring Memory Safety in Critical Open Source Projects, 26 June 2024. https://www.cisa.gov/sites/default/files/2024-06/joint-guidance-exploring-memory-safety-in-critical-open-source-projects-508c.pdf (opens in a new tab) ↩1 ↩2 ↩3
- CISA, Memory Safe Languages: Reducing Vulnerabilities in Modern Software Development (resource page for the joint CISA and NSA guide), 24 June 2025. https://www.cisa.gov/resources-tools/resources/memory-safe-languages-reducing-vulnerabilities-modern-software-development (opens in a new tab) ↩
- Jeff Vander Stoep and Alex Rebert, Eliminating Memory Safety Vulnerabilities at the Source, Google Online Security Blog, 25 September 2024. https://security.googleblog.com/2024/09/eliminating-memory-safety-vulnerabilities-Android.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12
- Jeff Vander Stoep, Rust in Android: move fast and fix things, Google, 13 November 2025. https://blog.google/security/rust-in-android-move-fast-fix-things/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11
- Nikolaos Alexopoulos, Manuel Brack, Jan Philipp Wagner, Tim Grube and Max Mühlhäuser, How Long Do Vulnerabilities Live in the Code? A Large-Scale Empirical Measurement Study on FOSS Vulnerability Lifetimes, 31st USENIX Security Symposium, August 2022. https://www.usenix.org/system/files/sec22-alexopoulos.pdf (opens in a new tab) ↩1 ↩2
- The Rust Project, What Is Ownership?, The Rust Programming Language, accessed 28 November 2026 (UTC). https://doc.rust-lang.org/book/ch04-01-what-is-ownership.html (opens in a new tab) ↩
- The Rust Project, Data Races and Race Conditions, The Rustonomicon, accessed 28 November 2026 (UTC). https://doc.rust-lang.org/nomicon/races.html (opens in a new tab) ↩
- The Rust Project, The unsafe keyword, The Rust Reference, accessed 28 November 2026 (UTC). https://doc.rust-lang.org/reference/unsafe-keyword.html (opens in a new tab) ↩
- Ana Nora Evans, Bradford Campbell and Mary Lou Soffa, Is Rust Used Safely by Software Developers?, 42nd International Conference on Software Engineering (ICSE 2020), arXiv preprint 2007.00752. https://arxiv.org/abs/2007.00752 (opens in a new tab) ↩1 ↩2
- Linux kernel CNA, CVE-2025-68260: rust_binder: fix race condition on death_list, CVE record published 16 December 2025. https://cveawg.mitre.org/api/cve/CVE-2025-68260 (opens in a new tab) ↩
- Greg Kroah-Hartman, post on social.kernel.org announcing the first CVE for Rust code in the kernel, December 2025. https://social.kernel.org/notice/B1JLrtkxEBazCPQHDM (opens in a new tab) ↩
- Linux kernel CNA, CVE-2025-68260 record with CVSS 3.1 assessment, record updated 5 August 2026. https://cveawg.mitre.org/api/cve/CVE-2025-68260 (opens in a new tab) ↩
- Ian McCormack, Tomas Dougan, Sam Estep, Hanan Hibshi, Jonathan Aldrich and Joshua Sunshine, A Mixed-Methods Study on the Implications of Unsafe Rust for Interoperation, Encapsulation, and Tooling, arXiv 2404.02230, first submitted 2 April 2024, revised 18 February 2026. https://arxiv.org/abs/2404.02230 (opens in a new tab) ↩1 ↩2
- Rust Security Response WG, Security advisory for the standard library (CVE-2024-24576), Rust Blog, 9 April 2024. https://blog.rust-lang.org/2024/04/09/cve-2024-24576/ (opens in a new tab) ↩
- Apache Logging Services, Security (Log4j vulnerability list, including CVE-2021-44228), Apache Software Foundation, accessed 28 November 2026 (UTC). https://logging.apache.org/log4j/2.x/security.html (opens in a new tab) ↩
- The Rust Project, Data Types: Integer Overflow, The Rust Programming Language, accessed 28 November 2026 (UTC). https://doc.rust-lang.org/book/ch03-02-data-types.html (opens in a new tab) ↩
- The Rust Project, Primitive type slice: method get, Rust standard library documentation, accessed 28 November 2026 (UTC). https://doc.rust-lang.org/std/primitive.slice.html#method.get (opens in a new tab) ↩
- Jonathan Corbet, The (successful) end of the kernel Rust experiment, LWN.net, 10 December 2025. https://lwn.net/Articles/1049831/ (opens in a new tab) ↩
- OpenSSF Best Practices Working Group, Compiler Options Hardening Guide for C and C++, Open Source Security Foundation, version dated 20 August 2026. https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Alex Rebert, Max Shavrick and Kinuko Yasuda, Retrofitting spatial safety to hundreds of millions of lines of C++, Google Online Security Blog, 15 November 2024. https://security.googleblog.com/2024/11/retrofitting-spatial-safety-to-hundreds.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Clang Team, -fbounds-safety: Enforcing bounds safety for C (design document), LLVM Project, accessed 28 November 2026 (UTC). https://clang.llvm.org/docs/BoundsSafety/BoundsSafety.html (opens in a new tab) ↩1 ↩2
- Adrian Taylor, Bartek Nowierski and Kentaro Hara, Use-after-freedom: MiraclePtr, Google Online Security Blog, 13 September 2022. https://security.googleblog.com/2022/09/use-after-freedom-miracleptr.html (opens in a new tab) ↩1 ↩2 ↩3
- Bobby Holley, WebAssembly and Back Again: Fine-Grained Sandboxing in Firefox 95, Mozilla Hacks, 6 December 2021. https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/ (opens in a new tab) ↩1 ↩2
- Samuel Groß, The V8 Sandbox, v8.dev blog, 4 April 2024. https://v8.dev/blog/sandbox (opens in a new tab) ↩1 ↩2
- Apple Security Engineering and Architecture, Memory Integrity Enforcement: A complete vision for memory safety in Apple devices, Apple Security Research, 9 September 2025. https://security.apple.com/blog/memory-integrity-enforcement/ (opens in a new tab) ↩1 ↩2 ↩3
- SCI Semiconductor, SCI Semiconductor Announces First Silicon of Cybersecure MCU, ICENI, press release, 4 March 2026. https://www.scisemi.com/company/press-release-iceni-first-commercial-cheri/ (opens in a new tab) ↩1 ↩2
- Robert N. M. Watson, Ben Laurie and Alex Richardson, Assessing the Viability of an Open-Source CHERI Desktop Software Ecosystem, Capabilities Limited, 17 September 2021. https://www.cl.cam.ac.uk/research/security/ctsrd/pdfs/20210917-capltd-cheri-desktop-report-version1-FINAL.pdf (opens in a new tab) ↩1 ↩2
- Herb Sutter, Trip report: June 2026 ISO C++ standards meeting (Brno, Czechia), Sutter’s Mill, 13 June 2026. https://herbsutter.com/2026/06/13/brno-trip-report/ (opens in a new tab) ↩1 ↩2
- LLVM Project, Hardening Modes, libc++ documentation, accessed 28 November 2026 (UTC). https://libcxx.llvm.org/Hardening.html (opens in a new tab) ↩
- Jonathan Müller, Trip Report: Winter ISO C++ Meeting in Hagenberg, Austria, think-cell developer blog, February 2025. https://www.think-cell.com/en/career/devblog/trip-report-winter-iso-cpp-meeting-in-hagenberg-austria (opens in a new tab) ↩1 ↩2
- Herb Sutter, C++26 is done! Trip report: March 2026 ISO C++ standards meeting (London Croydon, UK), Sutter’s Mill, 29 March 2026. https://herbsutter.com/2026/03/29/c26-is-done-trip-report-march-2026-iso-c-standards-meeting-london-croydon-uk/ (opens in a new tab) ↩
- Konstantin Varlamov and Louis Dionne, P3471R4: Standard library hardening, ISO/IEC JTC1/SC22/WG21, 14 February 2025. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3471r4.html (opens in a new tab) ↩
- Thomas Köppe, P2795R5: Erroneous behaviour for uninitialized reads, ISO/IEC JTC1/SC22/WG21, 22 March 2024. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2795r5.html (opens in a new tab) ↩
- Herb Sutter, C++26 is done (again)! Trip report: November 2026 ISO C++ standards meeting (Búzios, Brazil), Sutter’s Mill, 21 November 2026. https://herbsutter.com/2026/11/21/c26-is-done-again-trip-report-november-2026-iso-c-standards-meeting-buzios-brazil/ (opens in a new tab) ↩
- The Chromium Projects, The Rule Of 2, Chromium security documentation, accessed 28 November 2026 (UTC). https://chromium.googlesource.com/chromium/src/+/main/docs/security/rule-of-2.md (opens in a new tab) ↩1 ↩2
- Chrome Releases, Stable Channel Update for Desktop, Google, 19 March 2024. https://chromereleases.googleblog.com/2024/03/stable-channel-update-for-desktop_19.html (opens in a new tab) ↩
- LLVM Project, MemTagSanitizer, LLVM documentation, accessed 28 November 2026 (UTC). https://llvm.org/docs/MemTagSanitizer.html (opens in a new tab) ↩
- Android Open Source Project, Arm Memory Tagging Extension, source.android.com, last updated 30 September 2026. https://source.android.com/docs/security/test/memory-safety/arm-mte (opens in a new tab) ↩1 ↩2 ↩3
- Biting the CHERI bullet: Blockers, Enablers and Security Implications of CHERI in Defence, arXiv 2504.17904, April 2025 (presented at ICMCIS, May 2025). https://arxiv.org/html/2504.17904v1 (opens in a new tab) ↩1 ↩2
- University of Cambridge Department of Computer Science and Technology, Capability Hardware Enhanced RISC Instructions (CHERI), project page, accessed 28 November 2026 (UTC). https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/ (opens in a new tab) ↩
- Herb Sutter, P3081R0: Core safety Profiles: Specification, adoptability, and impact, ISO/IEC JTC1/SC22/WG21, 12 October 2024. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3081r0.pdf (opens in a new tab) ↩
- Sean Baxter and Christian Mazakas, P3390R0: Safe C++, ISO/IEC JTC1/SC22/WG21, 11 September 2024. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3390r0.html (opens in a new tab) ↩
- Herb Sutter, Trip report: November 2024 ISO C++ standards meeting (Wrocław, Poland), Sutter’s Mill, 24 November 2024. https://herbsutter.com/2024/11/24/wg21-2024-11/ (opens in a new tab) ↩
- Úlfar Erlingsson, How to Secure Existing C and C++ Software without Memory Safety, arXiv 2503.21145, 27 March 2025. https://arxiv.org/abs/2503.21145 (opens in a new tab) ↩
- Big Sleep team, From Naptime to Big Sleep: Using Large Language Models To Catch Vulnerabilities In Real-World Code, Google Project Zero, 1 November 2024. https://projectzero.google/2024/10/from-naptime-to-big-sleep.html (opens in a new tab) ↩1 ↩2 ↩3
- Oliver Chang, Dongge Liu and Jonathan Metzman, Leveling Up Fuzzing: Finding more vulnerabilities with AI, Google Online Security Blog, 20 November 2024. https://security.googleblog.com/2024/11/leveling-up-fuzzing-finding-more.html (opens in a new tab) ↩1 ↩2 ↩3
- DARPA, AI Cyber Challenge marks pivotal inflection point for cyber defense (AIxCC final results), Defense Advanced Research Projects Agency, 8 August 2025 (with later editor’s note correcting the synthetic vulnerability count to 63). https://darpa.mil/news/2025/aixcc-results (opens in a new tab) ↩1 ↩2
- OpenSSL Project, OpenSSL Security Advisory: Low-level invalid GF(2^m) parameters lead to OOB memory access (CVE-2024-9143), 16 October 2024. https://openssl-library.org/news/secadv/20241016.txt (opens in a new tab) ↩

SecSIG