Vulnerability · Published Mar 19, 2026 · Assigned by wolfSSL
CVE-2026-4159wc_PKCS7_DecodeEnvelopedData 1 byte out-of-bounds read
Low 1.2
In plain English
A low-severity out-of-bounds read in wolfSSL from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 1% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | wolfssl | 5.9.1-r0 | ALPINE-CVE-2026-4159 |
| Alpine:v3.24 | wolfssl | 5.9.0-r0 | ALPINE-CVE-2026-4159 |
| Debian:12 | wolfssl | no fix listed | DEBIAN-CVE-2026-4159 |
| Debian:13 | wolfssl | no fix listed | DEBIAN-CVE-2026-4159 |
| Ubuntu:22.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-4159 |
| Ubuntu:24.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-4159 |
| Ubuntu:25.10 | wolfssl | no fix listed | UBUNTU-CVE-2026-4159 |
| Ubuntu:26.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-4159 |
| Ubuntu:26.10 | wolfssl | no fix listed | UBUNTU-CVE-2026-4159 |
Affected products (as reported)
Weakness: CWE-125 · Vector: 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