製品・ソフトウェアに関する情報
rust-OpenSSL Projectのrust-OpenSSLにおけるスタックベースのバッファオーバーフローの脆弱性
Title rust-OpenSSL Projectのrust-OpenSSLにおけるスタックベースのバッファオーバーフローの脆弱性
Summary

rust-opensslはRustプログラミング言語向けのOpenSSLバインディングを提供します。バージョン0.10.39から0.10.78未満の間、EVP_DigestFinal()は常にEVP_MD_CTX_size(ctx)のサイズ分をoutバッファに書き込みます。もしoutがそれより小さい場合、MdCtxRef::digest_final()はバッファの終端を超えて書き込みを行い、通常はスタックを破損させます。これはSafe Rustからアクセス可能な脆弱性でした。この問題はバージョン0.10.78で修正されました。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 24, 2026, midnight
Registration Date April 30, 2026, 12:17 p.m.
Last Update April 30, 2026, 12:17 p.m.
CVSS3.0 : 緊急
Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
rust-OpenSSL Project
rust-OpenSSL 0.10.39 以上 0.10.78 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 12:17 p.m.

NVD Vulnerability Information
CVE-2026-41681
Summary

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.10.39 to before 0.10.78, EVP_DigestFinal() always writes EVP_MD_CTX_size(ctx) to the out buffer. If out is smaller than that, MdCtxRef::digest_final() writes past its end, usually corrupting the stack. This is reachable from safe Rust. This vulnerability is fixed in 0.10.78.

Publication Date April 25, 2026, 3:16 a.m.
Registration Date April 25, 2026, 4:08 a.m.
Last Update April 29, 2026, 2:44 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:rust-openssl_project:rust-openssl:*:*:*:*:*:rust:*:* 0.10.39 0.10.78
Related information, measures and tools
Common Vulnerabilities List