CVE-2026-5187
Last modified
CVE-2026-5187 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
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 accept crafted OIDs with 33 or more arcs that write past the end of the allocated buffer.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssl | Wolfssl | <= 5.9.0 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-5187?
How severe is CVE-2026-5187?
How do I fix CVE-2026-5187?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-51843Tenda AC7 v15.03.06.44 contains a stack buffer overflow vuln…9.8
- CVE-2026-51844Tenda AC7 v15.03.06.44 contains a stack buffer overflow vuln…9.8
- CVE-2026-51845Tenda AC7 v15.03.06.44 contains a stack buffer overflow vuln…9.8
- CVE-2026-51846In Tenda AC7 v15.03.06.44, the wanSpeed parameter of the rou…9.8
- CVE-2026-5185A security flaw has been discovered in Nothings stb_image up…5.3
- CVE-2026-5186A weakness has been identified in Nothings stb up to 2.30. T…5.3
- CVE-2026-5188An integer underflow issue exists in wolfSSL when parsing th…8.1
- CVE-2026-5189CWE-798: Use of Hard-coded Credentials in Sonatype Nexus Rep…9.2
- CVE-2026-5190Out-of-bounds write in the streaming decoder component in aw…7.7
- CVE-2026-5191The Tiled Gallery Carousel Without JetPack plugin for WordPr…5.4
- CVE-2026-5192The Forminator Forms – Contact Form, Payment Form & Custom F…7.5
- CVE-2026-51923An Insecure Direct Object Reference (IDOR) vulnerability exi…8.1
Are you affected by CVE-2026-5187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
