Email me

Rust advisories / pqc_kyber

Vulnerability HighRUSTSEC-2023-0079 · pqc_kyber

RUSTSEC-2023-0079: KyberSlash: division timings depending on secrets

Short answerA security vulnerability in the pqc_kyber crate: KyberSlash: division timings depending on secrets. High severity (CVSS 7.4). No fixed version: replace the crate or remove the affected code path.

Cratepqc_kyber
TypeVulnerability (crypto-failure)
Affected versionsEvery version.
Fixed innone
SeverityHigh, CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2023-12-01
Last changed2024-04-12
Also known asGHSA-x5j2-g63m-f8g4

What to do

  1. Find who pulls it in: cargo tree -i pqc_kyber.
  2. Avoid the affected API, or replace the crate.

Details from the advisory

Various Kyber software libraries in various environments leak secret information into timing, specifically because

  • these libraries include a line of code that divides a secret numerator by a public denominator,
  • the number of CPU cycles for division in various environments varies depending on the inputs to the division, and
  • this variation appears within the range of numerators used in these libraries.

The KyberSlash pages track which Kyber libraries have this issue, and include a FAQ about the issue.

Author

The KyberSlash pages were written by Daniel J. Bernstein. The FAQ originally said "I", but some people seemed to have trouble finding this authorship statement, so the FAQ now says "Bernstein" instead.

URL

The permanent link for the KyberSlash pages is https://kyberslash.cr.yp.to.

Mitigation status in pqc_kyber crate

The issue has not been resolved in the upstream pqc_kyber crate.

A third-party fork that mitigates this attack vector has been published as safe_pqc_kyber.

Alternatives

The ml-kem crate is a maintained alternative pure Rust implementation of ML-KEM / Kyber.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for pqc_kyber

Full security history of pqc_kyber

Up next

Same cratepqc_kyber: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ