> CVE-2026-41898 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-04-24 18:16
MODIFIED
2026-04-24 18:16
CVSS_SCORE V3
8.3
EPSS (Prob. Exploit)
0.28%
Top 80.5%
DATA SOURCES:
NVD đź”— 2026-04-24 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 MSRC đź”— 2026-11-02

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

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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/E:X/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

> MÉTRIQUES CVSS DÉTAILLÉES

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/E:X/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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-126 CWE-130

> CWE DETAILED DESCRIPTIONS

CWE-126: Buffer Over-read - The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer. | CWE-130: Improper Handling of Length Parameter Inconsistency - The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.

> GITHUB SECURITY ADVISORY

GHSA-hppc-g8h3-xhp3 HIGH

rust-openssl: Unchecked callback length in PSK/cookie trampolines leaks adjacent memory to peer

AFFECTED PACKAGES:
RUST / openssl
>= 0.9.24, < 0.10.78
Fixed in: 0.10.78

> HISTORIQUE DES MODIFICATIONS

Première apparition
24/04/2026 18:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-126: Buffer Over-read - The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer. | CWE-130: Improper Ha...
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373...
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-...
« BACK_TO_HOME