DEBIAN-CVE-2026-41676

Source
https://security-tracker.debian.org/tracker/CVE-2026-41676
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41676.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2026-41676
Upstream
Published
2026-04-24T18:16:29Z
Modified
2026-09-01T16:06:42Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/debian/rust-openssl?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.45-1
0.10.57-1
0.10.64-1
0.10.68-1
0.10.70-1
0.10.72-1
0.10.73-1
0.10.78-1
0.10.79-1
0.10.81-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41676.json"

Debian:13 / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/debian/rust-openssl?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.10.72-1
0.10.73-1
0.10.78-1
0.10.79-1
0.10.81-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41676.json"

Debian:14 / rust-openssl

Package

Name
rust-openssl
Purl
pkg:deb/debian/rust-openssl?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.10.78-1

Affected versions

0.*
0.10.72-1
0.10.73-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41676.json"