CVE catalog

CVE-2026-41681

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 tha

[CVE catalog]

Severity
Critical · CVSS 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-opensslsid0.10.81-1fixed
Debianrust-opensslforky0.10.81-1fixed
Debianrust-openssltrixie0.10.72-1vulnerable
Debianrust-opensslbookworm0.10.45-1vulnerable
Cperust-opensslNot reportedNot reportedvulnerable
Cperust-opensslNot reported0.10.78fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-opensslsourcesid0.10.78-1not yet assignedNot reported[1134881]
Debianrust-opensslsourceforky0.10.78-1not yet assignedNot reported[1134881]
Debianrust-opensslsourcetrixie(unfixed)not yet assignedNot reported[1134881]
Debianrust-opensslsourcebookworm(unfixed)not yet assignedNot reported[1134881]
Cperust-opensslcpeNot reported0.10.78Not reportedNot reportedNot reported

[Debian bug #1134881]

Notes

[trixie] rust-openssl: Minor issue [bookworm] rust-openssl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [rust-openssl]

    Details (2)
    • 0.10.45-1 · amd64 · bookworm

      Affected

      nvd · rust-openssl · debian · bookworm; nvd · rust-openssl · debian · 12

    • 0.10.45-1 · arm64 · bookworm

      Affected

      nvd · rust-openssl · debian · bookworm; nvd · rust-openssl · debian · 12

[Debian 13 (Trixie)]

  • Source package: [rust-openssl]

    Details (2)
    • 0.10.72-1 · amd64 · trixie

      Affected

      nvd · rust-openssl · debian · 13

    • 0.10.72-1 · arm64 · trixie

      Affected

      nvd · rust-openssl · debian · 13

Observed:

References