CVE-2026-6681 PKCS#7 decode ignores caller output buffer size, writing past buffer bounds
LowCVSS 1.0
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/wolfssl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/wolfssl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| alpine/wolfssl(Alpine v3.24) | >= 3.10.0, < 5.9.2-r0 | 5.9.2-r0 | Fixed |
| debian/wolfssl(Debian 12) | < 5.5.4-2+deb12u3; = 5.5.4-2; = 5.5.4-2+deb12u1; = 5.5.4-2+deb12u2 | 5.5.4-2+deb12u3 | Fixed |
| debian/wolfssl(Debian 13) | < 5.7.2-0.1+deb13u2; = 5.7.2-0.1; = 5.7.2-0.1+deb13u1 | 5.7.2-0.1+deb13u2 | Fixed |
| wolfSSL | >= 3.10.0, < 5.9.1; >= 3.10.0, <= 5.9.0 | 5.9.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wolfSSL | >= 3.10.0, <= 5.9.0 | No fix listed |
| debian/wolfssl(Debian:12) | < 5.5.4-2+deb12u3 | 5.5.4-2+deb12u3 |
| debian/wolfssl(Debian:12) | = 5.5.4-2 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u1 | No fix listed |
| debian/wolfssl(Debian:12) | = 5.5.4-2+deb12u2 | No fix listed |
| debian/wolfssl(Debian:13) | < 5.7.2-0.1+deb13u2 | 5.7.2-0.1+deb13u2 |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1 | No fix listed |
| debian/wolfssl(Debian:13) | = 5.7.2-0.1+deb13u1 | No fix listed |
| ubuntu/wolfssl(Ubuntu:22.04) | All versions | No fix listed |
| alpine/wolfssl(Alpine:v3.24) | >= 3.10.0, < 5.9.2-r0 | 5.9.2-r0 |
| ubuntu/wolfssl(Ubuntu:24.04) | All versions | No fix listed |
| wolfSSL | >= 3.10.0, < 5.9.1 | 5.9.1 |
References
- github.com issue-tracking patch
- www.wolfssl.com vendor-advisory
- Debian Security Tracker CVE-2026-6681 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory