{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41898","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-22T15:11:54.672Z","datePublished":"2026-04-24T17:20:38.073Z","dateUpdated":"2026-04-24T18:01:47.877Z"},"containers":{"cna":{"title":"rust-openssl: Unchecked callback-returned length in PSK and cookie generate trampolines can cause OpenSSL to leak adjacent memory to the network peer","problemTypes":[{"descriptions":[{"cweId":"CWE-126","lang":"en","description":"CWE-126: Buffer Over-read","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-130","lang":"en","description":"CWE-130: Improper Handling of Length Parameter Inconsistency","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.3,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-hppc-g8h3-xhp3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/rust-openssl/rust-openssl/security/advisories/GHSA-hppc-g8h3-xhp3"},{"name":"https://github.com/rust-openssl/rust-openssl/pull/2607","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/pull/2607"},{"name":"https://github.com/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373af3dff99b24c","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373af3dff99b24c"},{"name":"https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/releases/tag/openssl-v0.10.78"}],"affected":[{"vendor":"rust-openssl","product":"rust-openssl","versions":[{"version":">= 0.9.24, < 0.10.78","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-04-24T17:20:38.073Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-hppc-g8h3-xhp3","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-24T18:01:38.714785Z","id":"CVE-2026-41898","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-24T18:01:47.877Z"}}]}}