CVE-2026-6681
JSON

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 packageVersionsReported by
wolfSSL wolfSSLfrom 3.10.0 up to 5.9.0, from 3.10.0 before 5.9.1CVE List, NVD

All scores

wolfSSL1.0low CVSS:4.0CVSS: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
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-120CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-6681 changed 2026-06-26CVE Terms of Use
NVDCVE-2026-6681 changed 2026-06-27Public domain