Paper 2026/3063

Rotten CHERIs - A Comprehensive Study of Faults in CHERI RISC-V

Jan Philipp Thoma, Codasip
Maja Malenko, Codasip
Yan Yan, Codasip
Carl Shaw, Codasip
Abstract

The relentless stream of exploits based on memory vulnerabilities has prompted hardware developers to engineer new solutions that prevent these vulnerabilities at a deep hardware level. One such solution is CHERI (Capability Hardware Enhanced RISC Instructions), which has attracted significant interest from academia and industry. While CHERI has proven effective at mitigating memory-safety vulnerabilities under its architectural threat model, real-world environments often expose devices to advanced attack strategies. In particular, physical attackers can launch fault attacks that greatly exceed the fault model assumed during CHERI's development. Although memory and fault attacks are vastly different, the question arises whether CHERI's memory-protection guarantees hold under a fault attack model. To address this issue, we conduct the first fault analysis of CHERI on RISC-V systems. We analyze the impact of faults on capabilities and capability management instructions. Our threat analysis reveals opportunities and limitations for attackers, showing that CHERI raises the bar for meaningful fault attacks, but does not prevent them entirely. In order to evaluate fault attacks on generic CHERI-RISC-V systems, we have developed a functional, Spike-based fault simulator. We demonstrate successful fault attacks that can still violate CHERI's memory-safety guarantees and evaluate and discuss potential countermeasures.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
Fault AttackCHERIRISC-V
Contact author(s)
jan thoma @ codasip com
maja malenko @ codasip com
yan yan @ codasip com
carl shaw @ codasip com
History
2026-11-27: approved
2026-11-26: received
See all versions
Short URL
https://ia.cr/2026/3063
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/3063,
      author = {Jan Philipp Thoma and Maja Malenko and Yan Yan and Carl Shaw},
      title = {Rotten {CHERIs} - A Comprehensive Study of Faults in {CHERI} {RISC}-V},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/3063},
      year = {2026},
      url = {https://eprint.iacr.org/2026/3063}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.