Stack-based buffer overflow in wolfSSL - CVE-2026-5295

 

Stack-based buffer overflow in wolfSSL - CVE-2026-5295

Published: April 14, 2026


Vulnerability identifier: #VU125926
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-5295
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: wolfSSL
Affected software:
wolfSSL

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code or cause a denial of service.

The vulnerability exists due to a stack-based buffer overflow in PKCS7 ORI OID processing when parsing a PKCS7 envelope with a crafted ORI OID value. A remote attacker can provide a specially crafted PKCS7 envelope to execute arbitrary code or cause a denial of service.


How to mitigate CVE-2026-5295

Install security update from vendor's website.

Sources