製品・ソフトウェアに関する情報
wolfSSL Inc.のwolfSSLにおけるタイミングの違いに起因する情報漏えいに関する脆弱性
Title wolfSSL Inc.のwolfSSLにおけるタイミングの違いに起因する情報漏えいに関する脆弱性
Summary

PKCS#7 KTRI復号時にBleichenbacherパディングオラクルの問題がありました。RSA PKCS#1 v1.5鍵輸送を用いたPKCS#7 EnvelopedDataの復号処理において、wolfSSLはRSAパディング検証が失敗した場合と復号された内容が不正であった場合に異なるエラーコードを返していました。攻撃者は細工されたEnvelopedDataメッセージを送信し、エラー応答を観察することで、この挙動をパディングオラクルとして利用し、暗号化されたコンテンツ暗号鍵(CEK)を段階的に回復できる可能性がありました。修正では、パディング失敗時に決定論的擬似乱数による偽CEK(HMAC-SHA256を使用)を生成し、復号処理を一定時間で実行し、すべての失敗経路においてパディングの妥当性に関わらず同一のエラーを返すようにしています。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 25, 2026, midnight
Registration Date June 29, 2026, 11:25 a.m.
Last Update June 29, 2026, 11:25 a.m.
CVSS3.0 : 警告
Score 6.5
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected System
wolfSSL Inc.
wolfSSL 3.9.10 以上 5.9.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月29日]
  掲載
June 29, 2026, 11:25 a.m.

NVD Vulnerability Information
CVE-2026-6291
Summary

Bleichenbacher padding oracle in PKCS#7 KTRI decryption. When decrypting PKCS#7 EnvelopedData using RSA PKCS#1 v1.5 key transport, wolfSSL returned distinguishable error codes depending on whether RSA padding validation failed versus whether the decrypted content was malformed. An attacker able to submit crafted EnvelopedData messages and observe error responses could use this as a padding oracle to incrementally recover the encrypted Content Encryption Key (CEK). The fix generates a deterministic pseudo-random fake CEK on padding failure (via HMAC-SHA256) and proceeds with decryption identically, using constant-time operations throughout, so that all failure paths produce the same error regardless of padding validity.

Publication Date June 26, 2026, 3:16 a.m.
Registration Date June 27, 2026, 4:30 a.m.
Last Update June 27, 2026, 1:51 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* 3.9.10 5.9.2
Related information, measures and tools
Common Vulnerabilities List