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: 9.3 [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]
CVE-ID: CVE-2026-5295
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

wolfSSL

How to mitigate CVE-2026-5295

Install security update from vendor's website.

wolfSSL - update to 5.9.1

External References

Related Security Bulletins