← Lab /Security & privacy

Specification-level private key loading leaks found in OpenSSL and BoringSSL

The authors claim to have discovered a timing vulnerability in private key loading that leaks information in both OpenSSL and BoringSSL.

Security & privacy arXiv 11 Jun 2026 Measurement Real-world evidence

Published as “SoK: The Constant Time Model”

Why it matters

The discovered EC private-key loading flaw can be exploited to recover secret key material from widely deployed TLS libraries.

Summary

The paper shows that both OpenSSL and BoringSSL accept non-conformant variable-length keys during EC private key loading, exposing a specification-level timing vulnerability. BoringSSL’s per-observation signal is several orders of magnitude stronger than OpenSSL’s, despite an explicitly stricter threat model. The authors systematize constant-time models, identify gaps between model guarantees and protocol specifications, and present an offensive methodology to discover such leaks.

What they found 2

  1. BoringSSL leaks far more timing signal than OpenSSL for EC private key loading.

    “BoringSSL’s per-observation signal is several orders of magnitude stronger than OpenSSL’s, despite an explicitly stricter threat model.”

  2. Both OpenSSL and BoringSSL accept non-conformant variable-length keys.

    “demonstrating that both OpenSSL and BoringSSL accept non-conformant variable-length keys”

Caveats 1

  • BoringSSL’s per-observation signal is several orders of magnitude stronger than OpenSSL’s, despite an explicitly stricter threat model.

What’s new here 4

  • Systematizes the evolution of constant-time models and compares their guarantees and documented failures.
  • Identifies a recurring gap between what constant-time models protect and what protocol specifications assume.
  • Distills an offensive methodology for discovering specification-level timing vulnerabilities outside the cryptographic primitive boundary.
  • Applies the methodology to EC private-key loading, revealing a new vulnerability in both OpenSSL and BoringSSL.