{"id":"CVE-2026-6681","published":"2026-06-25T20:11:39Z","modified":"2026-06-26T13:14:09Z","title":"PKCS#7 decode ignores caller output buffer size, writing past buffer bounds","vendor":"wolfSSL","product":"wolfSSL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":1,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00376,"percentile":0.32437,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10116","tags":["patch"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":6.49},{"name":"CVSS severity","points":0.7}]},"vendorSlug":"wolfssl","affectedVersions":[{"vendor":"wolfSSL","product":"wolfSSL","versions":[">= 3.10.0, <= 5.9.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-26T13:13:59.659791Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39556","exploited":false,"provenance":"source"}}