{"id":"CVE-2026-6681","aliases":["CVE-2026-6681"],"related":[],"kind":"vulnerability","state":"published","title":"PKCS#7 decode ignores caller output buffer size, writing past buffer bounds","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-06-25T20:11:39.446Z","modified":"2026-06-27T20:02:40.840Z","severity":{"scorer":"wolfSSL","scheme":"CVSS: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","score":1,"rating":"LOW"},"severities":[{"scorer":"wolfSSL","scheme":"CVSS: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","score":1,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-120","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"3.10.0","lastAffected":"5.9.0","status":"affected"}],"vendor":"wolfSSL","product":"wolfSSL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.10.0","fixed":"5.9.1"}],"vendor":"wolfssl","product":"wolfssl","cpe":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10116","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Nicholas Carlini from Anthropic"],"assigner":"wolfSSL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-26T13:13:59.659Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6681","url":"https://www.cve.org/CVERecord?id=CVE-2026-6681","licence":"CVE Terms of Use","modified":"2026-06-26T13:14:09.177Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6681","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6681","licence":"Public domain","modified":"2026-06-27T20:02:40.840Z"}],"updatedAt":"2026-11-25T22:59:26.436Z","epss":{"score":0.00346,"percentile":0.30158,"date":"2026-12-01T12:00:22.000Z"}}