CVE Explorer
CVE-2026-41898
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-126","description":"CWE-126: Buffer Over-read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-130","description":"CWE-130: Improper Handling of Length Parameter Inconsistency","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"rust-openssl","vendor":"rust-openssl","versions":[{"status":"affected","version":">= 0.9.24, < 0.10.78"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.3,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","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","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-126","description":"CWE-126: Buffer Over-read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-130","description":"CWE-130: Improper Handling of Length Parameter Inconsistency","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373af3dff99b24c","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/commit/1d109020d98fff2fb2e45c39a373af3dff99b24c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/references/2
{"name":"https://github.com/rust-openssl/rust-openssl/pull/2607","tags":["x_refsource_MISC"],"url":"https://github.com/rust-openssl/rust-openssl/pull/2607"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/references/1
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/references/3
{"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"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f70ee8f377aa7698efe3f2a8f23b712b6f967c4360d2931dad2c55780ffe2da3 · sha256:6de823cb7ee11aae… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.