What’s Vulnerable › Vulnerabilities

CVE-2026-4159: wc_PKCS7_DecodeEnvelopedData 1 byte out-of-bounds read

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

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