CVE-2026-41677
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-41677
Vendor advisory: security-advisories@github.com — https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xmgf-hq76-4vx2
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | affected | |
| debian | bullseye | affected | |
| debian | forky | affected | |
| debian | sid | fixed | 0.10.78-1 |
| debian | trixie | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| crates.io | openssl | >=0.9.0,<0.10.78 | 0.10.78 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| rust-openssl_project | rust-openssl | {"startIncluding":"0.9.0","endExcluding":"0.10.78"} | 0.10.78 |
References
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xmgf-hq76-4vx2
- https://nvd.nist.gov/vuln/detail/CVE-2026-41677
- https://github.com/rust-openssl/rust-openssl/pull/2605
- https://github.com/rust-openssl/rust-openssl/commit/5af6895c907773699f37f583f409b862284062b1
- https://github.com/rust-openssl/rust-openssl
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78
- https://security-tracker.debian.org/tracker/CVE-2026-41677
CWEs
CWE-125 CWE-1284
Verify integrity in audit chain (admin only). AS-IS.