CVE-2026-41898
published high CVSS 4.0 · 8.3rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines can cause OpenSSL to leak adjacent memory to the network peer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rust-openssl | — | rust-openssl>= 0.9.24, < 0.10.78 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | python311-cryptographyaarch64 | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-cryptographyppc64le | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-cryptographys390x | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-cryptographyx86_64 | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP4 | rustupaarch64 | Advisory build | 1.28.2~0-150400.3.13.1 | SUSE-SU-2026:2831-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | rustupx86_64 | Advisory build | 1.28.2~0-150400.3.13.1 | SUSE-SU-2026:2831-1 |
| SUSE / openSUSE | SLE-15-SP5 | himmelblauaarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | himmelblaux86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | himmelblau-sshd-confignoarch | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | himmelblau-ssoaarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | himmelblau-ssox86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | libnss_himmelblau2aarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | libnss_himmelblau2x86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | pam-himmelblauaarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | pam-himmelblaux86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-cryptographyaarch64 | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-cryptographyppc64le | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-cryptographys390x | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-cryptographyx86_64 | Advisory build | 41.0.3-150400.16.25.1 | SUSE-SU-2026:3040-1 |
| SUSE / openSUSE | SLE-15-SP5 | rustupaarch64 | Advisory build | 1.28.2~0-150400.3.13.1 | SUSE-SU-2026:2831-1 |
| SUSE / openSUSE | SLE-15-SP5 | rustupx86_64 | Advisory build | 1.28.2~0-150400.3.13.1 | SUSE-SU-2026:2831-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-binaryblobs-upstreamaarch64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-binaryblobs-upstreamx86_64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-cliaarch64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP6 | aws-nitro-enclaves-clix86_64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP6 | himmelblauaarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | himmelblaux86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | himmelblau-sshd-confignoarch | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | himmelblau-ssoaarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | himmelblau-ssox86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | libnss_himmelblau2aarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | libnss_himmelblau2x86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | pam-himmelblauaarch64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | pam-himmelblaux86_64 | Advisory build | 2.3.14+git0.e23b4c54-150500.11.12.1 | SUSE-SU-2026:3576-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-cryptographyaarch64 | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-cryptographyppc64le | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-cryptographys390x | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-cryptographyx86_64 | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP6 | rustupaarch64 | Advisory build | 1.28.2~0-150600.10.13.1 | SUSE-SU-2026:2832-1 |
| SUSE / openSUSE | SLE-15-SP6 | rustupx86_64 | Advisory build | 1.28.2~0-150600.10.13.1 | SUSE-SU-2026:2832-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccacheaarch64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccacheppc64le | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccaches390x | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP6 | sccachex86_64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP6 | system-group-neaarch64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP6 | system-group-nex86_64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-binaryblobs-upstreamaarch64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-binaryblobs-upstreamx86_64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-cliaarch64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP7 | aws-nitro-enclaves-clix86_64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-cryptographyaarch64 | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-cryptographyppc64le | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-cryptographys390x | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-cryptographyx86_64 | Advisory build | 41.0.3-150600.23.9.1 | SUSE-SU-2026:3026-1 |
| SUSE / openSUSE | SLE-15-SP7 | rustupaarch64 | Advisory build | 1.28.2~0-150600.10.13.1 | SUSE-SU-2026:2832-1 |
| SUSE / openSUSE | SLE-15-SP7 | rustupx86_64 | Advisory build | 1.28.2~0-150600.10.13.1 | SUSE-SU-2026:2832-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccacheaarch64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccacheppc64le | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccaches390x | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | sccachex86_64 | Advisory build | 0.16.0~0-150600.10.11.1 | SUSE-SU-2026:3022-1 |
| SUSE / openSUSE | SLE-15-SP7 | snpguestx86_64 | Advisory build | 0.10.0-150700.3.6.1 | SUSE-SU-2026:3791-1 |
| SUSE / openSUSE | SLE-15-SP7 | snphostx86_64 | Advisory build | 0.6.1-150700.3.6.1 | SUSE-SU-2026:3642-1 |
| SUSE / openSUSE | SLE-15-SP7 | system-group-neaarch64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-15-SP7 | system-group-nex86_64 | Advisory build | 1.4.5~git0.18a5f6f-150600.10.12.1 | SUSE-SU-2026:3152-1 |
| SUSE / openSUSE | SLE-16 | afterburnaarch64 | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | SUSE-SU-2026:22827-1 |
| SUSE / openSUSE | SLE-16 | afterburnx86_64 | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | SUSE-SU-2026:22827-1 |
| SUSE / openSUSE | SLE-16 | afterburn-dracutnoarch | Advisory build | 5.10.0.git73.b97f772-160000.1.1 | SUSE-SU-2026:22827-1 |
| SUSE / openSUSE | SLE-16 | agama-cliaarch64 | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-clippc64le | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-clis390x | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-clix86_64 | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-cli-bash-completionnoarch | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-cli-zsh-completionnoarch | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptsaarch64 | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptsppc64le | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptss390x | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | agama-scriptsx86_64 | Advisory build | 17+647.daf9950fc-160000.12.1 | SUSE-SU-2026:22622-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-binaryblobs-upstreamaarch64 | Advisory build | 1.4.5~git0.18a5f6f-160000.1.1 | SUSE-SU-2026:22841-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-binaryblobs-upstreamx86_64 | Advisory build | 1.4.5~git0.18a5f6f-160000.1.1 | SUSE-SU-2026:22841-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-cliaarch64 | Advisory build | 1.4.5~git0.18a5f6f-160000.1.1 | SUSE-SU-2026:22841-1 |
| SUSE / openSUSE | SLE-16 | aws-nitro-enclaves-clix86_64 | Advisory build | 1.4.5~git0.18a5f6f-160000.1.1 | SUSE-SU-2026:22841-1 |
| SUSE / openSUSE | SLE-16 | keylime-ima-policyaarch64 | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | keylime-ima-policyppc64le | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | keylime-ima-policys390x | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | keylime-ima-policyx86_64 | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | python313-cryptographyaarch64 | Advisory build | 44.0.3-160000.4.1 | SUSE-SU-2026:22624-1 |
| SUSE / openSUSE | SLE-16 | python313-cryptographyppc64le | Advisory build | 44.0.3-160000.4.1 | SUSE-SU-2026:22624-1 |
| SUSE / openSUSE | SLE-16 | python313-cryptographys390x | Advisory build | 44.0.3-160000.4.1 | SUSE-SU-2026:22624-1 |
| SUSE / openSUSE | SLE-16 | python313-cryptographyx86_64 | Advisory build | 44.0.3-160000.4.1 | SUSE-SU-2026:22624-1 |
| SUSE / openSUSE | SLE-16 | python313-maturinaarch64 | Advisory build | 1.8.7-160000.5.1 | SUSE-SU-2026:22615-1 |
| SUSE / openSUSE | SLE-16 | python313-maturinppc64le | Advisory build | 1.8.7-160000.5.1 | SUSE-SU-2026:22615-1 |
| SUSE / openSUSE | SLE-16 | python313-maturins390x | Advisory build | 1.8.7-160000.5.1 | SUSE-SU-2026:22615-1 |
| SUSE / openSUSE | SLE-16 | python313-maturinx86_64 | Advisory build | 1.8.7-160000.5.1 | SUSE-SU-2026:22615-1 |
| SUSE / openSUSE | SLE-16 | rust-keylimeaarch64 | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | rust-keylimeppc64le | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | rust-keylimes390x | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | rust-keylimex86_64 | Advisory build | 0.2.9+49-160000.1.1 | SUSE-SU-2026:22583-1 |
| SUSE / openSUSE | SLE-16 | rustupaarch64 | Advisory build | 1.29.1~0-160000.1.1 | SUSE-SU-2026:24014-1 |
| SUSE / openSUSE | SLE-16 | rustupx86_64 | Advisory build | 1.29.1~0-160000.1.1 | SUSE-SU-2026:24014-1 |
| SUSE / openSUSE | SLE-16 | sccacheaarch64 | Advisory build | 0.18.0~2-160000.1.1 | SUSE-SU-2026:23983-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rust-openssl | rust-openssl | >= 0.9.24, < 0.10.78 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-126 CWE-126: Buffer Over-read
- CWE-130 CWE-130: Improper Handling of Length Parameter Inconsistency
References
4- https://github.com/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373af3dff99b24c
- https://github.com/rust-openssl/rust-openssl/pull/2607
- https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78
- https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-hppc-g8h3-xhp3
Provider assertions
2GitHub_M · cna
rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines can cause OpenSSL to leak adjacent memory to the network peer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fe380bf26799fc8fc18c374eb0c3eb1520efd1d011d53f7d8082f7a250f10d0c
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record