Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-41678: rust-openssl provides OpenSSL bindings for the Rust programming language

42
This month
HIGH 8.1REMOTEWATCHLISTUPGRADE

CVE-2026-41678 is a high-severity flaw (CVSS 8.1) affecting rust-openssl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score8.1 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 84%)
CISA exploited listNo
WeaknessCWE-787
Published2026-04-24
Last modified2026-07-17
Publisher (CNA): GitHub, Inc. · Vendor: rust-openssl project

Share: LinkedIn · X · Reddit

Last updated 2026-07-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

rust-openssl project rust-openssl UPGRADE
Affected: >= 0.10.24 and < 0.10.78
Fixed in: 0.10.78
Safe to downgrade to: a release before 0.10.24
1. Check installed version
apt-cache policy rust-openssl || rpm -q rust-openssl || rust-openssl --version
2. UPGRADE to 0.10.78 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade rust-openssl
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade rust-openssl
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 0.10.24 (Debian / Ubuntu)
apt-cache madison rust-openssl sudo apt install rust-openssl=<VERSION_BEFORE_0.10.24> sudo apt-mark hold rust-openssl
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list rust-openssl sudo dnf downgrade rust-openssl-<VERSION_BEFORE_0.10.24> sudo dnf versionlock add rust-openssl
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-41678?

rust-openssl: upgrade to 0.10.78. Exact commands for each OS are on this page.

Is CVE-2026-41678 being exploited?

CVE-2026-41678 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-41678 affect?

CVE-2026-41678 affects rust-openssl. Severity is high (CVSS 8.1). 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 i

How urgent is CVE-2026-41678?

Priority 42/100. High severity; Remotely exploitable, no login, no user action; On your watchlist

Software pages

OpenSSL vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.