CVE catalog

CVE-2026-41678

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 th

[CVE catalog]

Severity
High · CVSS 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 23, 2026

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.

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
Opensuseaws-nitro-enclaves-clitumbleweed1.4.5~git0.18a5f6f-1.1fixed

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
Opensuseaws-nitro-enclaves-clirpmtumbleweed1.4.5~git0.18a5f6f-1.1Not reportedOPENSUSE-SU-2026:11275-1Not 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

[openSUSE Tumbleweed]

  • Source package: [aws-nitro-enclaves-cli]

    Details (1)
    • 1.4.5~git0.18a5f6f-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.4.5~git0.18a5f6f-1.1

      Version impact unknown

      nvd · aws-nitro-enclaves-cli · opensuse · tumbleweed

  • Source package: [aws-nitro-enclaves-cli]

    Details (1)
    • 1.4.5~git0.18a5f6f-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 1.4.5~git0.18a5f6f-1.1

      Version impact unknown

      nvd · aws-nitro-enclaves-cli · opensuse · tumbleweed

  • Source package: [aws-nitro-enclaves-cli]

    Details (1)
    • 1.4.5~git0.18a5f6f-1.2 · x86_64 · tumbleweed

      Fixed · Fixed: 1.4.5~git0.18a5f6f-1.1

      nvd · aws-nitro-enclaves-cli · opensuse · tumbleweed

Observed:

References