What’s Vulnerable › Vulnerabilities

CVE-2026-6681: PKCS#7 decode ignores caller output buffer size, writing past buffer bounds

Description

The PKCS#7 decode path ignores the caller-supplied output buffer size (outputSz), allowing decoded content to be written past the bounds of the provided buffer. This affects wolfSSL 5.9.0 and earlier and was fixed in the 5.9.1 release.

Affected products

How to fix

Upgrade to a fixed version: wolfSSL 5.9.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-6681 or the next vulnerability affects your stack