Out-of-bounds write in wolfSSL - CVE-2026-6681

 

Out-of-bounds write in wolfSSL - CVE-2026-6681

Published: July 1, 2026


Vulnerability identifier: #VU136650
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-6681
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause memory corruption.

The vulnerability exists due to an out-of-bounds write in the PKCS#7 decode path when decoding content into a caller-supplied output buffer. A remote attacker can supply crafted PKCS#7 data to cause memory corruption.

This affects wolfSSL 5.9.0 and earlier.


Affected software

wolfSSL

How to mitigate CVE-2026-6681

Install security update from vendor's website.

wolfSSL - update to 5.9.2

External References

Related Security Bulletins