CVE-2026-4159

published 19 Mar 2026 · updated 30 Apr 2026

wc_PKCS7_DecodeEnvelopedData 1 byte out-of-bounds read

1.2LowCVSS 1.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.9.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
wolfSSL<5.9.05.9.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-4159 severity on Zeptric[![CVE-2026-4159](https://zeptric.io/badge/cve/CVE-2026-4159.svg)](https://zeptric.io/cve/CVE-2026-4159)