What’s Vulnerable › Vulnerabilities
CVE-2026-6681: PKCS#7 decode ignores caller output buffer size, writing past buffer bounds
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-25 · updated 2026-06-27
- Weakness: CWE-120
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
- wolfSSL: from 3.10.0 before 5.9.1 — fixed in 5.9.1
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