KyberSlash: Exploiting secret-dependent division timings in Kyber implementations

This paper presents KyberSlash1 and KyberSlash2 – two timing vulnerabilities in several implementations (including the official reference code) of the Kyber Post-Quantum Key Encapsulation Mechanism, recently standardized as ML-KEM. We demonstrate the exploitability of both KyberSlash1 and KyberSlash2 on two popular platforms: the Raspberry Pi 2 (Arm Cortex-A7) and the Arm Cortex-M4 microprocessor. Kyber secret keys are reliably recovered within minutes for KyberSlash2 and a few hours for KyberSlash1. We responsibly disclosed these vulnerabilities to maintainers of various libraries and they have swiftly been patched. We present two approaches for detecting and avoiding similar vulnerabilities. First, we patch the dynamic analysis tool Valgrind to allow detection of variable-time instructions operating on secret data, and apply it to more than 1000 implementations of cryptographic primitives in SUPERCOP. We report multiple findings. Second, we propose a more rigid approach to guarantee the absence of variable-time instructions in cryptographic software using formal methods.

Authors

Institutions

Publication Details

Journal
IACR Transactions on Cryptographic Hardware and Embedded Systems
Published
2025-03-04
DOI
https://doi.org/10.46586/tches.v2025.i2.209-234
Citations
10
Primary Topic
Peer-to-Peer Network Technologies
Type
article
Field-Weighted Citation Impact
13.38
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

KyberSlash: Exploiting secret-dependent division timings in Kyber implementations

Karthikeyan Bhargavan, Thales Bandiera Paiva, Franziskus Kiefer, Matthias J. Kannwischer et al.
10 citations
IACR Transactions on Cryptographic Hardware and Embedded Systems
Peer-to-Peer Network Technologies
13.38
article

KyberSlash: Exploiting secret-dependent division timings in Kyber implementations

Karthikeyan Bhargavan, Thales Bandiera Paiva, Franziskus Kiefer, Matthias J. Kannwischer, Prasanna Ravi, Shivam Bhasin, Anupam Chattopadhyay, Daniel J. Bernstein, Goutam Tamvada, Tee Kiah Chia
article en
10 citations

Abstract

This paper presents KyberSlash1 and KyberSlash2 – two timing vulnerabilities in several implementations (including the official reference code) of the Kyber Post-Quantum Key Encapsulation Mechanism, recently standardized as ML-KEM. We demonstrate the exploitability of both KyberSlash1 and KyberSlash2 on two popular platforms: the Raspberry Pi 2 (Arm Cortex-A7) and the Arm Cortex-M4 microprocessor. Kyber secret keys are reliably recovered within minutes for KyberSlash2 and a few hours for KyberSlash1. We responsibly disclosed these vulnerabilities to maintainers of various libraries and they have swiftly been patched. We present two approaches for detecting and avoiding similar vulnerabilities. First, we patch the dynamic analysis tool Valgrind to allow detection of variable-time instructions operating on secret data, and apply it to more than 1000 implementations of cryptographic primitives in SUPERCOP. We report multiple findings. Second, we propose a more rigid approach to guarantee the absence of variable-time instructions in cryptographic software using formal methods.

IACR Transactions on Cryptographic Hardware and Embedded SystemsVol. 2025(2)
Institut national de recherche en sciences et technologies du numérique (FR), Nanyang Technological University (SG), University of Illinois Chicago (US), Fundo Brasil (BR), Institute of Crystallography (IT)
Openalex Percentile: Top 1%
Peer-to-Peer Network Technologies
13.38
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.