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.
History

Thu, 25 Jun 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title PKCS#7 decode ignores caller output buffer size, writing past buffer bounds
Weaknesses CWE-120
CWE-787
References
Metrics cvssV4_0

{'score': 1, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: wolfSSL

Published:

Updated: 2026-06-25T20:11:39.446Z

Reserved: 2026-04-20T15:00:32.607Z

Link: CVE-2026-6681

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T22:45:04Z