CVE-2026-6291: Bleichenbacher padding oracle in PKCS#7 KTRI decryption
CVE-2026-6291 is a medium-severity flaw (CVSS 6.5) affecting wolfssl. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 Enc
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-208 |
| Published | 2026-06-25 |
| Last modified | 2026-06-26 |
Last updated 2026-06-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6291?
wolfssl: upgrade to 5.9.2. Exact commands for each OS are on this page.
Is CVE-2026-6291 being exploited?
CVE-2026-6291 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6291 affect?
CVE-2026-6291 affects wolfssl. Severity is medium (CVSS 6.5). 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 whethe
How urgent is CVE-2026-6291?
Priority 27/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-55967 HIGH 7.5 UPGRADE AES-GCM encryption/decryption with extremely large cumulative single message sizes (>64 GiB) were not properly
- CVE-2026-7532 HIGH 7.5 UPGRADE iPAddress name constraints bypass when WOLFSSL_IP_ALT_NAME is not defined
- CVE-2026-6678 MEDIUM 5.3 UPGRADE Integer underflow in wc_PKCS7_DecryptOri when handling crafted Other Recipient Info, leading to incorrect leng
- CVE-2026-6679 HIGH 7.5 UPGRADE A heap buffer overflow could occur in the DTLS 1.3 ACK serialization path before the connecting peer is authen
- CVE-2026-6681 MEDIUM 5.3 UPGRADE The PKCS#7 decode path ignores the caller-supplied output buffer size (outputSz), allowing decoded content to