Skip to content
OpenAdvisories
Low · 1.0 CVE-2026-6681 EUVD-2026-39556GHSA-6q89-vxvr-wgv2

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

Published Jun 25, 2026 · Updated Jun 26, 2026 · 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 products

VendorProductAffectedFixed
wolfSSL wolfSSL 3.10.0 – ≤ 5.9.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 wolfssl 5.7.2-0.1+deb13u2 —
Debian 12 wolfssl 5.5.4-2+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 wolfssl No fix yet —
Ubuntu 24.04 LTS wolfssl No fix yet —
Ubuntu 22.04 LTS wolfssl No fix yet —
Ubuntu 20.04 LTS wolfssl No fix yet —
Ubuntu 18.04 LTS wolfssl No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS wolfssl No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 wolfssl 5.9.2-r0 —

References