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

- Severity: Low 1.2 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Green`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-02)
- Published: 2026-03-19T21:17:46.357Z
- Modified: 2026-06-17T10:56:05.030Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## 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.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: before 5.9.0

## Every score

- wolfSSL: CVSS:4.0 1.2 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/U:Green`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/wolfSSL/wolfssl/pull/9945> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-4159](https://www.cve.org/CVERecord?id=CVE-2026-4159), CVE Terms of Use, modified 2026-03-20
- NVD: [CVE-2026-4159](https://nvd.nist.gov/vuln/detail/CVE-2026-4159), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4159 · Whole record: https://cve.day/CVE-2026-4159.json · Rebuilt by cve.day 2026-11-25T22:59:16.223Z
