# CVE-2026-41898: rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines can cause OpenSSL to leak adjacent memory to the network peer

CVE-2026-41898 is fixed in 14 products on 1 platform, first by DEBIAN-CVE-2026-41898, released April 24, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-41898
- Priority: Routine
- CVSS: 5.3 (Important)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 24, 2026
- Weakness: Buffer Over-read
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-41898

## Description

rust-openssl provides OpenSSL bindings for the Rust programming language.  From 0.9.24 to before 0.10.78, the FFI trampolines behind SslContextBuilder::set_psk_client_callback, set_psk_server_callback, set_cookie_generate_cb, and set_stateless_cookie_generate_cb forwarded the user closure's returned usize directly to OpenSSL without checking it against the &mut [u8] that was handed to the closure. This can lead to buffer overflows and other unintended consequences. This vulnerability is fixed in 0.10.78.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | afterburn opensuse-leap 16.0 | 5.10.0.git73.b97f772-160000.1.1 | [OPENSUSE-SU-2026:21386-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21386-1.md) | Jul 20, 2026 |
| Linux | afterburn sles 16.0 | 5.10.0.git73.b97f772-160000.1.1 | [SUSE-SU-2026:22827-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22827-1.md) | Jul 20, 2026 |
| Linux | agama opensuse-leap 16.0 | 17+647.daf9950fc-160000.12.1 | [OPENSUSE-SU-2026:21292-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21292-1.md) | Jul 10, 2026 |
| Linux | agama sles 16.0 | 17+647.daf9950fc-160000.12.1 | [SUSE-SU-2026:22622-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22622-1.md) | Jul 10, 2026 |
| Linux | aws-nitro-enclaves-cli opensuse-leap 16.0 | 1.4.5~git0.18a5f6f-160000.1.1 | [OPENSUSE-SU-2026:21406-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21406-1.md) | Jul 22, 2026 |
| Linux | aws-nitro-enclaves-cli sles 15.6 | 1.4.5~git0.18a5f6f-150600.10.12.1 | [SUSE-SU-2026:3152-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3152-1.md) | Jul 21, 2026 |
| Linux | aws-nitro-enclaves-cli sles 15.7 | 1.4.5~git0.18a5f6f-150600.10.12.1 | [SUSE-SU-2026:3152-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3152-1.md) | Jul 21, 2026 |
| Linux | aws-nitro-enclaves-cli sles 16.0 | 1.4.5~git0.18a5f6f-160000.1.1 | [SUSE-SU-2026:22841-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22841-1.md) | Jul 22, 2026 |
| Linux | himmelblau sles 15.6 | 2.3.14+git0.e23b4c54-150500.11.12.1 | [SUSE-SU-2026:3576-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3576-1.md) | Aug 11, 2026 |
| Linux | libkrun opensuse-leap 16.0 | 1.4.10-160000.3.1 | [OPENSUSE-SU-2026:21464-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21464-1.md) | Jul 28, 2026 |
| Linux | python-cryptography opensuse-leap 16.0 | 44.0.3-160000.4.1 | [OPENSUSE-SU-2026:21294-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21294-1.md) | Jul 10, 2026 |
| Linux | python-cryptography sles 15.6 | 41.0.3-150600.23.9.1 | [SUSE-SU-2026:3026-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3026-1.md) | Jul 15, 2026 |
| Linux | python-cryptography sles 15.7 | 41.0.3-150600.23.9.1 | [SUSE-SU-2026:3026-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3026-1.md) | Jul 15, 2026 |
| Linux | python-cryptography sles 16.0 | 44.0.3-160000.4.1 | [SUSE-SU-2026:22624-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22624-1.md) | Jul 10, 2026 |
| Linux | python-maturin opensuse-leap 16.0 | 1.8.7-160000.5.1 | [OPENSUSE-SU-2026:21285-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21285-1.md) | Jul 10, 2026 |
| Linux | python-maturin sles 16.0 | 1.8.7-160000.5.1 | [SUSE-SU-2026:22615-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22615-1.md) | Jul 10, 2026 |
| Linux | rust-keylime opensuse-leap 16.0 | 0.2.9+49-160000.1.1 | [OPENSUSE-SU-2026:21274-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21274-1.md) | Jul 9, 2026 |
| Linux | rust-keylime sles 16.0 | 0.2.9+49-160000.1.1 | [SUSE-SU-2026:22583-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22583-1.md) | Jul 9, 2026 |
| Linux | rust-openssl Debian 14 | 0.10.78-1 | [DEBIAN-CVE-2026-41898](https://patchblox.com/security/data/fix/linux/debian-cve-2026-41898.md) | Apr 24, 2026 |
| Linux | rustup opensuse-leap 16.0 | 1.29.1~0-160000.1.1 | [OPENSUSE-SU-2026:22016-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22016-1.md) | Oct 2, 2026 |
| Linux | rustup sles 15.6 | 1.28.2~0-150600.10.13.1 | [SUSE-SU-2026:2832-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2832-1.md) | Jul 9, 2026 |
| Linux | rustup sles 15.7 | 1.28.2~0-150600.10.13.1 | [SUSE-SU-2026:2832-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2832-1.md) | Jul 9, 2026 |
| Linux | rustup sles 16.0 | 1.29.1~0-160000.1.1 | [SUSE-SU-2026:24014-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-24014-1.md) | Oct 2, 2026 |
| Linux | sccache opensuse-leap 16.0 | 0.18.0~2-160000.1.1 | [OPENSUSE-SU-2026:21982-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21982-1.md) | Sep 30, 2026 |
| Linux | sccache sles 15.6 | 0.16.0~0-150600.10.11.1 | [SUSE-SU-2026:3022-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3022-1.md) | Jul 15, 2026 |
| Linux | sccache sles 15.7 | 0.16.0~0-150600.10.11.1 | [SUSE-SU-2026:3022-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3022-1.md) | Jul 15, 2026 |
| Linux | sccache sles 16.0 | 0.18.0~2-160000.1.1 | [SUSE-SU-2026:23983-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23983-1.md) | Sep 30, 2026 |
| Linux | sdbootutil opensuse-leap 16.0 | 1+git20260908.c641fc2-160000.1.1 | [OPENSUSE-SU-2026:21933-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21933-1.md) | Sep 23, 2026 |
| Linux | snpguest opensuse-leap 16.0 | 0.10.0-160000.2.1 | [OPENSUSE-SU-2026:21579-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21579-1.md) | Aug 13, 2026 |
| Linux | snpguest sles 15.7 | 0.10.0-150700.3.6.1 | [SUSE-SU-2026:3791-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3791-1.md) | Aug 25, 2026 |
| Linux | snpguest sles 16.0 | 0.10.0-160000.2.1 | [SUSE-SU-2026:23236-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23236-1.md) | Aug 13, 2026 |
| Linux | snphost opensuse-leap 16.0 | 0.6.0-160000.3.1 | [OPENSUSE-SU-2026:21638-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21638-1.md) | Aug 24, 2026 |
| Linux | snphost sles 15.7 | 0.6.1-150700.3.6.1 | [SUSE-SU-2026:3642-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3642-1.md) | Aug 18, 2026 |
| Linux | snphost sles 16.0 | 0.6.0-160000.3.1 | [SUSE-SU-2026:23327-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-23327-1.md) | Aug 24, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
