Tarides Logo
Services

Memory Safety and the Cyber Resilience Act

Under the EU Cyber Resilience Act, you now have 24 hours to report each actively exploited vulnerability in your product. We help you find where your code is most exposed to memory-safety bugs, and build safer components to replace it.

What the Cyber Resilience Act now asks

Since 11 September 2026, manufacturers of connected hardware and software products sold on the EU market must report each actively exploited vulnerability and each severe incident: an early warning within 24 hours and a notification within 72 hours. This applies to products already on the market. Most of the Act's other obligations apply from 11 December 2027.

The risk in your code

In C and C++ products, memory bugs are among the most common sources of exploitable vulnerabilities, and once one is actively exploited, you have to report it. The Act doesn't name any programming language, so what matters is finding out which parts of your code are most at risk and deciding what to do about them.

Starting with an assessment

We start with a short review of the riskiest parts of one product. At the end, you get a roadmap that says which parts to isolate, which to harden and which to rewrite.

How we help

  • Memory-safety assessment and roadmap for C and C++ code.
  • Secure component development: network services, protocols and parsers written in OCaml, or as MirageOS unikernels.
  • Maintenance and team extension for the components you rely on.

Why OCaml

Safe OCaml code is memory-safe: the compiler and runtime rule out buffer overflows and use-after-free. The remaining risks are in explicitly unsafe functions, unmarshalling of untrusted data, C bindings and the C runtime, so that is where we focus our reviews. OCaml compiles to fast native code. It is open source and was created in Europe, at Inria, so your code doesn't depend on one vendor.

Track record

  • NetHSM. Tarides engineers are among the main contributors to NetHSM, Nitrokey's open-source hardware security module built on MirageOS. Their work includes key namespaces, faster backup restore and, with Nitrokey, clustering.
  • OCaml security. A Tarides engineer is a member of the OCaml Security Response Team.
  • A memory-safety bug in OCaml itself. Tarides' multicore testing found a memory-safety bug in the OCaml runtime's Array.sub, fixed in OCaml 5.4.0 (ocaml/ocaml#13950).
  • Cryptography. A Tarides engineer fixed uneven P-521 signing times in mirage-crypto (#230), reported by a Nitrokey engineer (#228), and made its P-256 signing about four times faster (#191).
  • SCoP (NGI DAPSI, 2021–2022): we extended OCaml email libraries (SPF, DKIM, DMARC, SMTP) and built a spam filter and a Matrix server prototype.
  • FIDES: research on hardware-assisted compartments for mixed OCaml and C systems, led at IIT Madras, with Tarides' CTO as co-author.

Talk to us about an assessment of your product

A free call with our team, without commitment. Tell us about your system and we'll tell you honestly where we can help.