Approved changes feed: RSS · Atom

cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:*

part: a version: * update: *

VendorRust Openssl Project (f20a5518-a4c6-5373-86e6-8e9f649073c4)
ProductRust Openssl (fda02cad-b38e-546b-b88c-d61ac3e23b3c)
Edition*
Language*
Software edition*
Target softwarerust
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/rust-openssl purl2cpe 2026-06-01 10:11:49.216625
pkg:deb/ubuntu/rust-openssl purl2cpe 2026-06-01 10:11:49.216627
pkg:github/sfackler/rust-openssl purl2cpe 2026-06-01 10:11:49.216628
pkg:rpm/fedora/rust-openssl purl2cpe 2026-06-01 10:11:49.216630
pkg:rpm/opensuse/rust-openssl purl2cpe 2026-06-01 10:11:49.216631

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-41898 vulnerable 2026-06-08 08:03:15.741808 rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines can cause OpenSSL to leak adjacent memory to the network peer
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.24 to before 0.10.78, the FFI trampolines behind SslContextBuilder::set_psk_client_callback, set_psk_server_callback, set_cookie_generate_cb, and set_stateless_cookie_generate_cb forwarded the user closure's returned usize directly to OpenSSL without checking it against the &mut [u8] that was handed to the closure. This can lead to buffer overflows and other unintended consequences. This vulnerability is fixed in 0.10.78.
Published: 2026-04-24T17:20:38.073Z
Updated: 2026-04-24T18:01:47.877Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-41681 vulnerable 2026-06-08 08:03:15.687498 rust-openssl: MdCtxRef::digest_final() writes past caller buffer with no length check
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78, EVP_DigestFinal() always writes EVP_MD_CTX_size(ctx) to the out buffer. If out is smaller than that, MdCtxRef::digest_final() writes past its end, usually corrupting the stack. This is reachable from safe Rust. This vulnerability is fixed in 0.10.78.
Published: 2026-04-24T17:19:15.187Z
Updated: 2026-04-24T17:42:54.765Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-41678 vulnerable 2026-06-08 08:03:15.680399 rust-openssl: Incorrect bounds assertion in aes key wrap
rust-openssl provides OpenSSL bindings for the Rust programming language. From to before 0.10.78, aes::unwrap_key() contains an incorrect assertion: it checks that out.len() + 8 <= in_.len(), but this condition is reversed. The intended invariant is out.len() >= in_.len() - 8, ensuring the output buffer is large enough. Because of the inverted check, the function only accepts buffers at or below the minimum required size and rejects larger ones. If a smaller buffer is provided the function will write past the end of out by in_.len() - 8 - out.len() bytes, causing an out-of-bounds write from a safe public function. This vulnerability is fixed in 0.10.78.
Published: 2026-04-24T17:18:27.280Z
Updated: 2026-04-24T18:33:14.697Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-41677 vulnerable 2026-06-08 08:03:15.679981 rust-openssl: Out-of-bounds read in PEM password callback when user callback returns an oversized length
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.0 to before 0.10.78, the *_from_pem_callback APIs did not validate the length returned by the user's callback. A password callback that returns a value larger than the buffer it was given can cause some versions of OpenSSL to over-read this buffer. OpenSSL 3.x is not affected by this. This vulnerability is fixed in 0.10.78.
Published: 2026-04-24T17:17:17.849Z
Updated: 2026-04-24T18:02:27.756Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-41676 vulnerable 2026-06-08 08:03:15.679497 rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1
rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78, Deriver::derive (and PkeyCtxRef::derive) sets len = buf.len() and passes it as the in/out length to EVP_PKEY_derive, relying on OpenSSL to honor it. On OpenSSL 1.1.x, X25519, X448, DH and HKDF-extract ignore the incoming *keylen, unconditionally writing the full shared secret (32/56/prime-size bytes). A caller passing a short slice gets a heap/stack overflow from safe code. OpenSSL 3.x providers do check, so this only impacts older OpenSSL. This vulnerability is fixed in 0.10.78.
Published: 2026-04-24T17:16:20.539Z
Updated: 2026-04-24T17:43:20.693Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.