{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5295","published":"2026-04-09T23:17:01.093000Z","last_modified":"2026-06-17T10:58:46.407000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/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","source":"facts@wolfssl.com","primary":false},"auth":false,"cwes":["CWE-121"],"cpes":[{"criteria":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","part":"a","vendor":"wolfssl","product":"wolfssl","version_end_excluding":"5.9.1"}],"cpes_truncated":false,"vendors":["wolfssl"],"products":["wolfssl/wolfssl"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2026-5295/","html_en":"/en/cve/CVE-2026-5295/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5295","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5295"},"untrusted":{"vendor_name":"Wolfssl","product_name":"Wolfssl","desc_en":"A stack buffer overflow exists in wolfSSL's PKCS7 implementation in the wc_PKCS7_DecryptOri() function in wolfcrypt/src/pkcs7.c. When processing a CMS EnvelopedData message containing an OtherRecipientInfo (ORI) recipient, the function copies an ASN.1-parsed OID into a fixed 32-byte stack buffer (oriOID[MAX_OID_SZ]) via XMEMCPY without first validating that the parsed OID length does not exceed MAX_OID_SZ. A crafted CMS EnvelopedData message with an ORI recipient containing an OID longer than 32 bytes triggers a stack buffer overflow. Exploitation requires the library to be built with --enable-pkcs7 (disabled by default) and the application to have registered an ORI decrypt callback via wc_PKCS7_SetOriDecryptCb().","affected":[{"untrusted_vendor":"wolfSSL","untrusted_product":"wolfSSL","versions":[]}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10116","tags":["Issue Tracking","Patch"]}]}}