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.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-6681
CWE-ID: CWE-787
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 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.


How to mitigate CVE-2026-6681

Install security update from vendor's website.

Sources