CVE-2026-5187: Vulnerability in Wolfssl
Critical. Two potential heap out-of-bounds write locations existed in DecodeObjectId() in wolfcrypt/src/asn.c. First, a bounds check only validates one available slot before writing two OID arc values (out[0] and out[1]), enabling a 2-byte out-of-bounds write when outSz equals 1. Second, multiple callers pass sizeof(decOid) (64 bytes on 64-bit platforms) instead of the element count MAX_OID_SZ (32), causing the function to...
CWE-122, CWE-787
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-122, CWE-787
- Published
- 9 Apr 2026
- Last change
- 17 Jun 2026
Affected products
Affected versions and the first fixed release
- Wolfssl Through 5.9.0. No fixed version recorded
Advisories
Vendor and security advisories
Related
- Wolfssl vulnerabilities Recent advisories, watch this product