What’s Vulnerable › Vulnerabilities
CVE-2026-4159: wc_PKCS7_DecodeEnvelopedData 1 byte out-of-bounds read
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-19 · updated 2026-06-17
- Weakness: CWE-125
Description
1-byte OOB heap read in wc_PKCS7_DecodeEnvelopedData via zero-length encrypted content. A vulnerability existed in wolfSSL 5.8.4 and earlier, where a 1-byte out-of-bounds heap read in wc_PKCS7_DecodeEnvelopedData could be triggered by a crafted CMS EnvelopedData message with zero-length encrypted content. Note that PKCS7 support is disabled by default.
Affected products
- wolfSSL: before 5.9.0 — fixed in 5.9.0
How to fix
Upgrade to a fixed version: wolfSSL 5.9.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-4159 or the next vulnerability affects your stack