# CVE-2026-41677: rust-openssl: Out-of-bounds read in PEM password callback when user callback returns an oversized length

- Priority: **Routine**
- Reason: Not severe (CVSS 1.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-24 · Modified: 2026-04-24
- Aliases: UBUNTU-CVE-2026-41677, DEBIAN-CVE-2026-41677, CGA-32g8-xq6r-cp74, CGA-5jpj-49mr-qxcw, CGA-6c45-ccmp-29m3, CGA-g3hv-m49x-vj83, CGA-hgcr-chc9-5jpx, CGA-rp5h-9fj7-29mm, CGA-x55g-j9wg-q2p2, CGA-xvmv-xpf4-x9xm, CGA-2f8w-4x8g-qf9v, CGA-2mhc-62wg-6c69, CGA-3g82-p757-h6pr, CGA-3xmr-pj5m-p767, CGA-5cwv-9642-5mm9, CGA-5gw4-rxx7-967f, CGA-77g6-wrgv-rgq4, CGA-7hjv-3w5f-5phr, CGA-7q7j-8f25-j9q5, CGA-99pf-hg93-4xx7, CGA-9gjf-ww63-p666, CGA-fqm6-p8jj-99wp, CGA-g6mg-692f-3939, CGA-g8j2-wjxv-cx9w, CGA-gj68-q8v4-22hq, CGA-jhxx-xwfm-6vm6, CGA-jpg9-92xm-qrjj, CGA-jxwc-8gq8-g6xf, CGA-m2g5-68w6-xhxw, CGA-m3xh-75fg-4wg6, CGA-p6rh-m7jm-j8c9, CGA-p94p-c6v4-j787, GHSA-xmgf-hq76-4vx2, CGA-q87g-qrr3-6g24, CGA-rvff-h6m5-h9jm, CGA-vw5w-m788-c6r7, CGA-wh7g-v43q-g7fw, RUSTSEC-2026-0479
- Record: https://cvemate.com/vulnerability/CVE-2026-41677 · JSON: https://cvemate.com/vulnerability/CVE-2026-41677/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.305%, percentile 25.084%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 32)

- chainguard bootc-binary (Chainguard): \< 1.10.0-r5
- chainguard deno (Chainguard): \< 2.7.13-r0
- chainguard guestproxyagent (Chainguard): \< 1.0.42-r2 \| \< 1.0.43-r0
- chainguard komodo-cli (Chainguard): \< 2.1.2-r2
- chainguard komodo-core (Chainguard): \< 2.1.2-r2
- chainguard komodo-periphery (Chainguard): \< 2.1.2-r2
- chainguard rpm-sequoia (Chainguard): \< 1.10.1-r10
- chainguard rustls-openssl-client (Chainguard): \< 1.0.0-r4
- chainguard rustup (Chainguard): \< 1.29.0-r5
- chainguard sccache (Chainguard): \< 0.14.0-r4
- chainguard sdp-identity-service (Chainguard): \< 1.3.10-r5
- chainguard sentry-cli (Chainguard): \< 3.4.0-r0
- chainguard sqlx (Chainguard): \< 0.8.6-r5
- chainguard typst (Chainguard): \< 0.14.2-r7
- chainguard valkey-ldap (Chainguard): \< 1.0.0-r5
- chainguard vector (Chainguard): \< 0.55.0-r1
- chainguard ztunnel-fips-1.26 (Chainguard): All versions (No fix recorded)
- chainguard ztunnel-fips-1.27 (Chainguard): \< 1.27.9-r7
- chainguard ztunnel-fips-1.28 (Chainguard): \< 1.28.5-r2
- chainguard ztunnel-fips-1.29 (Chainguard): \< 1.29.1-r3

## References

- <https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-xmgf-hq76-4vx2>
- <https://ubuntu.com/security/CVE-2026-41677>
- <https://www.cve.org/CVERecord?id=CVE-2026-41677>
- <https://security-tracker.debian.org/tracker/CVE-2026-41677>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41677.json>
- <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://crates.io/crates/openssl>
- <https://rustsec.org/advisories/RUSTSEC-2026-0479.html>

---

Data as of 2026-12-05T08:28:44.991Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
