脆弱性の一覧へ戻る
編集部の見出し:OpenSSL の EVP_EncodeBlock() の整数のあふれ(CISA の評価 9.8、OpenSSL の評価は Low)
NVD の情報
Issue summary: Calling EVP_EncodeBlock() with an input length close to INT_MAX may overflow the calculation of the encoded output size and write past the end of the caller-supplied output buffer. Impact summary: No path by which an attacker can trigger this has been identified. An application that passes an input length near INT_MAX to EVP_EncodeBlock() could suffer a heap buffer overflow, crashing or corrupting its own memory, but it must itself supply such a length. CWE: CWE-190: Integer Overflow or Wraparound Description: EVP_EncodeBlock() base64-encodes a buffer of a caller-supplied length into an output buffer that the caller allocates. The caller is expected to reserve 4*((len+2)/3)+1 bytes. For input lengths close to INT_MAX, the arithmetic that computes the encoded length overflows a signed integer, so the function writes more data than the documented output size. The result is a heap buffer overflow in the calling process. Reaching this requires an application to pass an input length near INT_MAX to EVP_EncodeBlock(). OpenSSL's TLS, QUIC and CMS implementations never encode buffers of that size, and the command line tools cannot practically be made to do so: the limits on reading a proxy password from a file and on bignum sizes prevent it. An application that accepts an attacker-controlled length and forwards it to EVP_EncodeBlock() without its own bound check is exposed. The severity is Low because no attacker-controlled path to the overflow is known. The caller must already hold a buffer of about two gigabytes before the defect can be reached. FIPS impact: no The affected code is outside the FIPS module boundary.
- 公開日
- 2026-11-18
- 最終更新(NVD)
- 2026-11-20
- NVD の状態
- Awaiting Analysis
- 脆弱性の種類
- CWE-190
深刻度(CVSS)
- 5.9 MediumCVSS 3.1/副/評価:134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.46%(全体の上位 59.2%、評価日 2026-11-22)
解消方法
- 解消方法の情報なし
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-20 のレポートOpenSSL の EVP_EncodeBlock() の整数のあふれ(CISA の評価 9.8、OpenSSL の評価は Low)
2GB 近い長さを渡すと出力の大きさの計算があふれる。外から来た長さを確かめずに渡すアプリだけが当たる。修正の PR #33652 は 11/20 時点で未マージで、レビューで戻り値の扱いを議論中。修正版は未公開。
悪用状況(編集部):悪用の報告は確認されていない
参照(NVD)
NVD から取得:2026-11-23T13:05:17.611Z/EPSS 評価日:2026-11-22
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。