CVE-2026-6681
1.0low
PKCS#7 decode ignores caller output buffer size, writing past buffer bounds
- Severity
- 1.0low CVSS:4.0 by wolfSSL
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- wolfSSL
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
| Product or package | Versions | Reported by |
|---|---|---|
| wolfSSL wolfSSL | from 3.10.0 up to 5.9.0, from 3.10.0 before 5.9.1 | CVE List, NVD |
All scores
| wolfSSL | 1.0low CVSS:4.0 | CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/U:Clear |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
References
| https://github.com/wolfSSL/wolfssl/pull/10116 | issue-tracking, patch | |
| https://www.wolfssl.com/docs/security-vulnerabilities/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6681 changed 2026-06-26 | CVE Terms of Use |
| NVD | CVE-2026-6681 changed 2026-06-27 | Public domain |