CVE-2026-4159

Low

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.

SeverityLow
CVSS3.3
Exploit probability—
ProductWolfssl
PublishedMar 19, 2026
First seenMar 19, 2026

How to fix

Update
  • wolfssl wolfssl5.9.0 or later

Affected products

ProductAffected versionsFixed in
wolfssl wolfsslv < 5.9.05.9.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.