Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentscrates.io

openssl

Rust bindings to OpenSSL covering TLS, X.509, RSA, DSA, Diffie-Hellman, elliptic curve and Edwards curve keys, symmetric ciphers, hashes, MACs and key derivation.

In short

What to know.

Algorithms
RSA signatures, RSA encryption, DSA, Finite-field Diffie-Hellman and 22 more13 of 26 would be broken by a large quantum computer.
Advisories
36 in the storeOSV last read 3 December 2026, 16:50 UTC.
What to do
Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from RSA signatures, RSA encryption, DSA, Finite-field Diffie-Hellman, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448 before large quantum computers exist.

36 in the store

Advisories

Advisories for openssl
AdvisoryIdAffected versionsFixed inSource's rating
rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphersGHSA-phqj-4mhp-q6mqfrom 0.10.50 before 0.10.80Fixed in 0.10.80Rated Moderate
Buffer overflow with AES key wrap with padding in `cipher_update_inplace`RUSTSEC-2026-0477from 0.10.50 before 0.10.80Fixed in 0.10.80
rust-openssl vulnerable to heap buffer overflow when encrypting with AES key-wrap-with-paddingGHSA-xv59-967r-8726from 0.10.0 before 0.10.79Fixed in 0.10.79Rated Moderate
rust-openssl has undefined behavior in X509Ref::ocsp_responders for certificates with non-UTF-8 OCSP URLsGHSA-xp3w-r5p5-63rrfrom 0.9.7 before 0.10.79Fixed in 0.10.79Rated High
Buffer overflow with AES key wrap with padding in `cipher_update`RUSTSEC-2026-0476from 0.10.0 before 0.10.79Fixed in 0.10.79
`X509Ref::ocsp_responders` can produce a `&str` that is not valid UTF-8RUSTSEC-2026-0474from 0.9.7 before 0.10.79Fixed in 0.10.79
rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1GHSA-pqf5-4pqq-29f5from 0.9.27 before 0.10.78Fixed in 0.10.78Rated High
rust-opennssl has an Out-of-bounds read in PEM password callback when returning an oversized lengthGHSA-xmgf-hq76-4vx2from 0.9.0 before 0.10.78Fixed in 0.10.78Rated Low
rust-openssl has incorrect bounds assertion in aes key wrapGHSA-8c75-8mhr-p7r9from 0.10.24 before 0.10.78Fixed in 0.10.78Rated High
rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length checkGHSA-ghm9-cr32-g9qjfrom 0.10.39 before 0.10.78Fixed in 0.10.78Rated High
rust-openssl: Unchecked callback length in PSK/cookie trampolines leaks adjacent memory to peerGHSA-hppc-g8h3-xhp3from 0.9.24 before 0.10.78Fixed in 0.10.78Rated High
Out-of-bounds read when a PEM password callback returns an oversized lengthRUSTSEC-2026-0479from 0.9.0 before 0.10.78Fixed in 0.10.78
Out-of-bounds write in `aes::unwrap_key`RUSTSEC-2026-0463from 0.10.24 before 0.10.78Fixed in 0.10.78
Buffer overflow in `Deriver::derive` and `PkeyCtxRef::derive` with OpenSSL 1.1.xRUSTSEC-2026-0473from 0.9.27 before 0.10.78Fixed in 0.10.78
Buffer overflow in `MdCtxRef::digest_final`RUSTSEC-2026-0475from 0.10.39 before 0.10.78Fixed in 0.10.78
Unchecked callback lengths in PSK and cookie callbacksRUSTSEC-2026-0478from 0.9.24 before 0.10.78Fixed in 0.10.78
rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`GHSA-4fcv-w3qc-ppggfrom 0.10.39 before 0.10.72Fixed in 0.10.72Rated Moderate
Use-After-Free in `Md::fetch` and `Cipher::fetch`RUSTSEC-2025-0022from 0.10.39 before 0.10.72Fixed in 0.10.72
rust-openssl ssl::select_next_proto use after freeGHSA-rpmj-rpgj-qmpmfrom 0.10.0 before 0.10.70Fixed in 0.10.70Rated Moderate
ssl::select_next_proto use after freeRUSTSEC-2025-0004from 0.0.0-0 before 0.10.70Fixed in 0.10.70
openssl's `MemBio::get_buf` has undefined behavior with empty buffersGHSA-q445-7m23-qrmwbefore 0.10.66Fixed in 0.10.66Rated Moderate
`MemBio::get_buf` has undefined behavior with empty buffersRUSTSEC-2024-0357from 0.0.0-0 before 0.10.66Fixed in 0.10.66
`openssl` `X509StoreRef::objects` is unsoundGHSA-xphf-cx8h-7q9gfrom 0.10.29 before 0.10.60Fixed in 0.10.60Rated Moderate
`openssl` `X509StoreRef::objects` is unsoundRUSTSEC-2023-0072from 0.0.0-0 before 0.10.60Fixed in 0.10.60
`openssl` `X509VerifyParamRef::set_host` buffer over-readGHSA-xcf7-rvmh-g6q4from 0.10.0 before 0.10.55Fixed in 0.10.55Rated Moderate
`openssl` `X509VerifyParamRef::set_host` buffer over-readRUSTSEC-2023-0044from 0.0.0-0 before 0.10.55Fixed in 0.10.55
`openssl` `X509NameBuilder::build` returned object is not thread safeGHSA-3gxf-9r58-2ghgfrom 0.9.7 before 0.10.48Fixed in 0.10.48Rated Moderate
`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file readGHSA-9qwg-crg9-m2vcfrom 0.9.7 before 0.10.48Fixed in 0.10.48Rated High
`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereferenceGHSA-6hcf-g6gr-hhcrfrom 0.9.7 before 0.10.48Fixed in 0.10.48Rated High
`openssl` `X509NameBuilder::build` returned object is not thread safeRUSTSEC-2023-0022from 0.0.0-0 before 0.10.48Fixed in 0.10.48
`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereferenceRUSTSEC-2023-0024from 0.0.0-0 before 0.10.48Fixed in 0.10.48
`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file readRUSTSEC-2023-0023from 0.0.0-0 before 0.10.48Fixed in 0.10.48
Use after free in opensslGHSA-xjxc-vfw2-cg96from 0.10.8 before 0.10.9Fixed in 0.10.9Rated Critical
Improper Certificate Validation in opensslGHSA-34p9-f4q3-c4r7before 0.9.0Fixed in 0.9.0Rated High
Use after free in CMS SigningRUSTSEC-2018-0010from 0.10.8 before 0.10.9Fixed in 0.10.9
SSL/TLS MitM vulnerability due to insecure defaultsRUSTSEC-2016-0001from 0.0.0-0 before 0.9.0Fixed in 0.9.0

18 listed

Findings

Findings for openssl
FindingIdSeverityUpdated
rust-openssl vulnerable to heap buffer overflow when encrypting with AES key-wrap-with-paddingNMN-2026-0131Severity Moderate3 December 2026
`openssl` `X509StoreRef::objects` is unsoundNMN-2026-0130Severity Moderate3 December 2026
rust-openssl has undefined behavior in X509Ref::ocsp_responders for certificates with non-UTF-8 OCSP URLsNMN-2026-0129Severity High3 December 2026
rust-opennssl has an Out-of-bounds read in PEM password callback when returning an oversized lengthNMN-2026-0128Severity Low3 December 2026
Use after free in CMS SigningNMN-2026-01273 December 2026
`openssl` `X509VerifyParamRef::set_host` buffer over-readNMN-2026-0126Severity Moderate3 December 2026
rust-openssl ssl::select_next_proto use after freeNMN-2026-0125Severity Moderate3 December 2026
openssl's `MemBio::get_buf` has undefined behavior with empty buffersNMN-2026-0124Severity Moderate3 December 2026
rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1NMN-2026-0123Severity High3 December 2026
rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphersNMN-2026-0122Severity Moderate3 December 2026
rust-openssl: Unchecked callback length in PSK/cookie trampolines leaks adjacent memory to peerNMN-2026-0121Severity High3 December 2026
rust-openssl: rustMdCtxRef::digest_final() writes past caller buffer with no length checkNMN-2026-0120Severity High3 December 2026
`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file readNMN-2026-01193 December 2026
rust-openssl has incorrect bounds assertion in aes key wrapNMN-2026-0118Severity High3 December 2026
`openssl` `X509Extension::new` and `X509Extension::new_nid` null pointer dereferenceNMN-2026-01173 December 2026
rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`NMN-2026-0116Severity Moderate3 December 2026
`openssl` `X509NameBuilder::build` returned object is not thread safeNMN-2026-01153 December 2026
SSL/TLS MitM vulnerability due to insecure defaultsNMN-2026-01143 December 2026

Reviewed 3 December 2026

Sources

  1. crates.io metadata for opensslcrates.ioRetrieved 3 December 2026
  2. openssl 0.10.82 README on crates.iocrates.ioRetrieved 3 December 2026
  3. openssl documentation: all itemsdocs.rsRetrieved 3 December 2026
  4. openssl documentation: pkey/struct.Iddocs.rsRetrieved 3 December 2026
  5. openssl documentation: hash/struct.MessageDigestdocs.rsRetrieved 3 December 2026
  6. openssl documentation: symm/struct.Cipherdocs.rsRetrieved 3 December 2026

Full record

Package
openssl
Ecosystem
crates.io
Role
Binding to a native library
Status
Not marked deprecated by its registry or maintainers.
Notes
Which algorithms work depends on the OpenSSL version the crate links against; for example the Argon2 functions need OpenSSL 3.2 or later. Legacy ciphers such as DES, RC4 and Blowfish are also exposed.
Reviewed
Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
Advisories read
Last read from OSV 3 December 2026, 16:50 UTC
Findings
18 listed above.

Algorithms it provides

What a large quantum computer would change

  • Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.RSA signatures, RSA encryption, DSA, Finite-field Diffie-Hellman, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448
  • Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.AES, AES-GCM, ChaCha20-Poly1305, SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), SHA-3 and SHAKE, RIPEMD-160, HMAC, HKDF, PBKDF2, scrypt, Argon2
  • Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation

Notes describe algorithm families, not any one project.