Evergreen, a "Provably Safe" Systems Language: What It Would Change for Vulnerability Classes

Evergreen is an early-stage systems programming language that uses contracts, dependent types, and a small proof kernel to reject out-of-bounds access, stale references, and type confusion at compile time. Its repository was created in October 2026, much of the design is unimplemented, and its claim to be safer than Rust is unproven. Treat it as research.

What Evergreen is, as of November 2026

Evergreen is a systems programming language published at evergreenlang.net, with source in the GitHub repository jordan-bonecutter/evergreen. The site's headline is "More Powerful Than C. Safer than Rust." It offers a browser playground that compiles Evergreen entirely on the device through a WebAssembly build of the compiler. The site gives no benchmarks or evidence for either comparison.

What can be checked in the repository on November 5, 2026:

  • It was created on October 27, 2026, and is under active development.
  • The bootstrap compiler is written in Rust and contains an internal verifier, a small proof kernel with certificate replay, a formatter, and a native x86-64 Linux backend for what the README calls a "supported verified subset." It can also emit standalone WebAssembly modules.
  • The README states that most of its text is the original design sketch and that "not all of it is implemented yet."
  • No license file is present, which by default means no grant to reuse the code.

So Evergreen is real and inspectable, and it is early. The useful question for a security reader is not whether to adopt it. It is which vulnerability classes its design targets, and what any "provably safe" claim has to prove.

The design: types that carry their own proof obligations

The README states one rule: a program may never misinterpret the type of a variable. Everything else is built from contracts and dependent types that make that rule checkable.

  • Contracts. Functions carry preconditions (where) and postconditions (ensures), and data types carry invariants. The compiler treats them as obligations; code that cannot be shown to satisfy them does not compile. Proofs and lemmas are erased after checking, so the executable keeps only runtime work.
  • Dependent types for memory. A linear_plane(T, n) is a pointer to contiguous storage whose type is tied to the runtime length n. Indexing it requires a proof that the index is below the length. An array(T, N) is inline storage with a compile-time extent.
  • A plane model of lifetime. Memory is a tree of planes. When a plane is dropped, the type of anything that pointed into it becomes never, so a stale reference is a type error rather than a dangling pointer.
  • Explicit trust. Behaviour supplied by the host, such as console output, is recorded as a trustme assumption rather than proved.

Mapping the design to vulnerability classes

Memory safety is where most serious C and C++ CVEs come from. Microsoft's Security Response Center wrote in 2019 that around 70 percent of the vulnerabilities it assigns a CVE each year are memory safety issues, and the Chromium project reports around 70 percent of its high severity security bugs are memory unsafety problems. Here is how Evergreen's design lines up against the CWE classes behind those numbers. For how CWE relates to CVE and CVSS, see CVE vs CVSS vs CWE.

  • Out-of-bounds read and write (CWE-125, CWE-787). Addressed at compile time: an index must be proven in range. Rust checks indexing at runtime and panics, which turns memory corruption into a crash. Evergreen aims to remove the check and the crash by requiring the proof.
  • Use after free and invalidated references (CWE-416). Addressed by the plane model. The README's motivating case is a vector that reallocates while references into it are live, the same hazard Rust's borrow checker prevents, with the claim that Evergreen allows more aliasing patterns Rust rejects.
  • Type confusion (CWE-843). The core rule. Untagged unions must carry a predicate that tells the variants apart.
  • Integer overflow (CWE-190). Partly. Machine overflow yields an unspecified value of the same type, so usize::MAX + 1 compiles but nothing can be proved about the result. That is safer than C's undefined behaviour for signed overflow, and it means a bounds proof that depends on the value fails. Contracts can require exact arithmetic. Overflow is not a hypothetical: GitLab describes October's CVE-2026-97229 as an integer overflow in the regular expression compiler, in Ruby's C-based Onigmo engine.

What no memory-safe language removes

A large share of the CVEs in a typical scan queue are not memory bugs at all: injection, broken authorisation, server-side request forgery, unsafe deserialisation, path traversal, logic flaws, and misconfiguration. A language that proves memory safety does nothing for them by default.

Evergreen's contracts could in principle encode some application invariants, such as "this handler only runs for an authenticated principal." Only the invariants someone writes down get checked. A verified program is verified against its specification, and a wrong or missing specification is a bug the checker will happily accept.

Where provably safe claims usually break

Every verified-language project has a trusted computing base, and the honest evaluation is about how small and how checked it is.

  • The verifier. If the checker has a soundness bug, unsafe programs pass. Evergreen's small kernel with certificate replay is the right shape: a compact component re-checks the proof, so the larger symbolic verifier does not have to be trusted. Whether that kernel covers every rule is the open question.
  • The code generator. Proving the source safe says nothing if the backend miscompiles it. Verified compilers exist as a research line for exactly this reason.
  • Trust assumptions and foreign code. Every trustme, host call, and C library linked in sits outside the proof.
  • Unimplemented design. The README is explicit that parts are sketches, including how to keep an invariant true across a multi-step update.

Established tools set the bar. SPARK proves the absence of runtime errors for a subset of Ada, and seL4 has a machine-checked proof of its kernel's functional correctness. A new language making similar claims should eventually publish a written soundness argument, a corpus of programs it must reject, and a list of everything it trusts.

What this means for a vulnerability programme today

Nothing changes in your patch queue this quarter. Evergreen is an early project from one repository, not a production toolchain. What it illustrates is the direction the field is taking: move whole bug classes from runtime detection to compile-time rejection.

The practical version of that today is the familiar one. Write new parsers, protocol handlers, and anything that touches untrusted input in a memory-safe language. Isolate the C components you cannot replace, such as regex engines, image decoders, and compression libraries, and track them as components in your inventory so their CVEs reach the right owner. When a CVE does land, fixing it properly still means confirming the vulnerable component is what is actually running.

If you want to evaluate Evergreen itself, try the playground, read the verifier and kernel code, and look for a written description of the trust boundary. Those three tell you more than the tagline.

Frequently asked questions

What is the Evergreen programming language?
Evergreen is an early-stage systems programming language at evergreenlang.net that combines explicit contracts, dependent types, and ownership so the compiler checks memory and data invariants. Its bootstrap compiler is written in Rust, includes a verifier and a small proof kernel, and builds WebAssembly and Linux x86-64 executables for a verified subset. Much of the design is not yet implemented.
Is Evergreen safer than Rust?
Not demonstrated. The site claims it is safer than Rust but offers no evidence, and the repository is weeks old with parts of the design unimplemented. Its approach differs: Evergreen requires compile-time proofs for things Rust checks at runtime, such as array bounds. That could remove some panics, but its soundness has not been independently analysed or published.
Which vulnerability classes does a memory-safe language prevent?
Memory-safe languages target out-of-bounds reads and writes, use after free, double free, and type confusion, which together drive most serious C and C++ CVEs according to Microsoft and Chromium. They do not prevent injection, broken authorisation, server-side request forgery, unsafe deserialisation, logic flaws, or misconfiguration. Those still need design review, testing, and patching.
What does provably safe mean for a programming language?
It means a checker proves that every accepted program satisfies stated safety properties, such as never reading outside an allocation. The guarantee is only as strong as the checker's soundness, the code generator's correctness, and the assumptions it trusts, such as host calls or linked C code. Credible projects publish their trust boundary and a soundness argument.