Skip to content
High 7.3

Botanの乱数生成器に予測可能な値から再初期化される脆弱性

CVE-2026-118765 First seen on SecPulse

Summary

Botanの3.7.0から3.13.0までには、AutoSeeded_RNGの状態を消去したあとに未初期化の状態で乱数を要求すると、予測可能な値で再初期化される脆弱性があります。BOTAN_HAS_SYSTEM_RNGを使わないビルドでは、時刻とプロセスIDだけで乱数が作られるため、生成される値を推測されるおそれがあります。修正版は3.13.0です。3.13.0以降に更新してください。

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

Botanの3.7.0から3.13.0までには、AutoSeeded_RNGの状態を消去したあとに未初期化の状態で乱数を要求すると、予測可能な値で再初期化される脆弱性があります。BOTAN_HAS_SYSTEM_RNGを使わないビルドでは、時刻とプロセスIDだけで乱数が作られるため、生成される値を推測されるおそれがあります。修正版は3.13.0です。3.13.0以降に更新してください。

Affected packages

EcosystemPackageAffectedFixed
randombit botan — —
Original description The description as published by the source.

Botan is a C++ cryptography library. From 3.7.0 until 3.13.0, an application that calls AutoSeeded_RNG::clear() and then calls randomize with an empty output buffer while the generator is unseeded can cause AutoSeeded_RNG to mark itself seeded without consulting the configured entropy source. On builds without BOTAN_HAS_SYSTEM_RNG, the fallback uses only a clock value and process ID, so a later non-empty request can produce output from predictable state. This issue is fixed in version 3.13.0.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details