Logo
vulnerabilityCVE-2026-0819
Name
CVE-2026-0819
Source
NVD ( link)Debian ( link)
Description
A stack buffer overflow vulnerability exists in wolfSSL's PKCS7 SignedData encoding functionality. In wc_PKCS7_BuildSignedAttributes(), when adding custom signed attributes, the code passes an incorrect capacity value (esd->signedAttribsCount) to EncodeAttributes() instead of the remaining available space in the fixed-size signedAttribs[7] array. When an application sets pkcs7->signedAttribsSz to a value greater than MAX_SIGNED_ATTRIBS_SZ (default 7) minus the number of default attributes already added, EncodeAttributes() writes beyond the array bounds, causing stack memory corruption. In WOLFSSL_SMALL_STACK builds, this becomes heap corruption. Exploitation requires an application that allows untrusted input to control the signedAttribs array size when calling wc_PKCS7_EncodeSignedData() or related signing functions.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
wolfssl
Exploitable

Vulnerability Ratings#


2.2
CVSSv4
7.1
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
5.9.1
Not Affected
buildroot
master
5.9.1
Not Affected
openwrt
master
5.9.1-r1
Not Affected
openwrt
openwrt-25.12
5.9.1-r1
Not Affected
yocto
kirkstone
5.2.0
Not Affected
yocto
master
5.9.1
Not Affected