CVE-2026-41677 json
rust-openssl: Out-of-bounds read in PEM password callback when user callback returns an oversized length
published 2026-04-22 6 mo ago modified 2026-09-10 1 mo ago also GHSA-xmgf-hq76-4vx2 , EUVD-2026-25583
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io openssl 0.10.78
- rust-openssl_project rust-openssl 0.10.78
- rust-openssl Debian 14 0.10.78-1
debian advisories DEBIAN-CVE-2026-41677
- rustup SLES for SAP applications 16.0, SLES 16.0 1.29.1~0-160000.1.1
- sccache SLES for SAP applications 16.0, SLES 16.0 0.18.0~2-160000.1.1
- snpguest SLE Module for Server Applications 15 SP7 0.10.0-150700.3.6.1
- snphost SLES for SAP applications 16.0, SLES 16.0 0.6.0-160000.3.1
- snphost SLE Module for Confidential Computing Technical Preview 15 SP7 0.6.1-150700.3.6.1
- snpguest SLES for SAP applications 16.0, SLES 16.0 0.10.0-160000.2.1
- himmelblau SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES 15 SP6-LTSS +3 more 2.3.14+git0.e23b4c54-150500.11.12.1
- afterburn Linux Micro 6.1 5.10.0.git73.b97f772-slfo.1.1_1.1
suse advisories SUSE-SU-2026:24014-1SUSE-SU-2026:23983-1SUSE-SU-2026:3791-1SUSE-SU-2026:23327-1SUSE-SU-2026:3642-1SUSE-SU-2026:23236-1
- rustup openSUSE Leap 16.0 1.29.1~0-160000.1.1
- sccache openSUSE Leap 16.0 0.18.0~2-160000.1.1
- sdbootutil openSUSE Leap 16.0 1+git20260908.c641fc2-160000.1.1
- snpguest openSUSE Tumbleweed 0.10.0-3.1
- snphost openSUSE Tumbleweed 0.7.0-3.1
- snphost openSUSE Leap 16.0 0.6.0-160000.3.1
- snpguest openSUSE Leap 16.0 0.10.0-160000.2.1
- libkrun openSUSE Leap 16.0 1.4.10-160000.3.1
opensuse advisories openSUSE-SU-2026:22016-1openSUSE-SU-2026:21982-1openSUSE-SU-2026:21933-1openSUSE-SU-2026:11653-1openSUSE-SU-2026:11654-1openSUSE-SU-2026:21638-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-41677 updated cvss 6.1
rust-openssl: OpenSSL: rust-openssl: Information Disclosure Vulnerability in Password Callback
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 1.7 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U |
| CNA | 4.0 | 1.7 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | openssl | >=0.9.0, <0.10.78 |
0.10.78 |
Affected products
- rust-openssl rust-openssl
Classification
References
-
github.com
/rust-openssl/rust-openssl/pull/2605
web
-
github.com
/rust-openssl/rust-openssl/commit/5af6895c907773699f37f583f409b862284062b1
web
-
github.com
/rust-openssl/rust-openssl/security/advisories/GHSA-xmgf-hq76-4vx2
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-41677
advisory
-
github.com
/rust-openssl/rust-openssl
package
-
github.com
/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78
web
Sources
- CVE List CVE-2026-41677
- GitHub Advisory GHSA-xmgf-hq76-4vx2
- NVD CVE-2026-41677
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.