CVE-2026-6681

PKCS#7 decode ignores caller output buffer size, writing past buffer bounds

Published Jun 25, 2026 CVSS 4.0 · 1 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4683-1 wolfssl security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wolfssl
Wolfssl wolfssl
Vendors & Products Wolfssl
Wolfssl wolfssl
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
wolfSSL
Published
Updated
Jun 26, 2026, 1:14 PM
Reserved
Apr 20, 2026, 3:00 PM
Status
Analyzed
Published
Jun 25, 2026, 9:16 PM
Modified
Jun 27, 2026, 8:02 PM