CVE-2026-5187 is a critical heap buffer overflow vulnerability in WolfSSL's DecodeObjectId() function within wolfcrypt/src/asn.c. The flaw stems from two distinct input validation failures: inadequate bounds checking that permits a 2-byte out-of-bounds write when processing OID arc values, and caller functions that pass incorrect buffer size parameters, allowing crafted OIDs with 33 or more arcs to exceed allocated buffer boundaries. This vulnerability affects WolfSSL's ASN.1 parsing capabilities across multiple platforms where the library is integrated. The vulnerability carries a CVSS score of 9.8 (Critical) with network-based attack vector, no authentication required, and potential for complete compromise of confidentiality, integrity, and availability. An unauthenticated remote attacker can exploit this through specially crafted OID structures without user interaction, making the attack surface substantial in network-exposed applications. There is currently no evidence of active exploitation in the wild, and the vulnerability is not listed on CISA's Known Exploited Vulnerabilities catalog. However, the Active status on the Hot List and the relatively low EPSS score suggest the community is monitoring this issue closely. Organizations running WolfSSL should prioritize patching to prevent potential exploitation as awareness of this critical flaw increases.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 0, <= 5.9.0CPE match | cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* | ||
<= 5.9.0CPE matchmatch criteria | cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* |
CVSS version used by this source: 4.0
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
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.