{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-0819","id":"CVE-2026-0819","title":"Stack buffer overflow in PKCS7 SignedData encoding with custom signed attributes","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 ","descriptionLong":"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":"2026-03-19T16:54:33.442Z","updated":"2026-10-28T02:31:10.488402703Z","reserved":"2026-01-09T17:04:43.340Z","status":"Analyzed","rejected":false,"assigner":"wolfSSL","metric":{"version":"4.0","score":2.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"low","source":"wolfSSL"},"metrics":[{"version":"4.0","score":2.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"low","source":"wolfSSL"},{"version":"4.0","score":2.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"wolfssl.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"NVD"}],"rating":"low","products":["wolfSSL"],"affectedProducts":[{"vendor":"wolfSSL","product":"wolfSSL","defaultStatus":"unaffected","versions":[{"status":"affected","version":"5.5.0","lessThan":"5.9.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-121","CWE-787"],"aliases":[],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/9630","tags":["Issue Tracking","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0819.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0819","tags":["advisory"]},{"url":"https://github.com/wolfSSL/wolfssl","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00115,"epssPercentile":0.01604,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-0819","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0819","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-0819","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-0819","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}