9.8

CVE-2026-5187: Heap Out-of-Bounds Write in DecodeObjectId() in wolfSSL

Analyzed
AliasesUBUNTU-CVE-2026-5187DEBIAN-CVE-2026-5187ALPINE-CVE-2026-5187
Published 09-04-2026Last modified 14-04-2026

Vulnerability summary

CVE-2026-5187 is a critical (CVSS 9.8) Heap-based Buffer Overflow vulnerability in wolfssl. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.28%
0%100%
Low · -0.20 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 09-04-2026
    PublishedVulnerability first disclosed.
  2. 14-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

Decrease -0.20 pp

From 0.48% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • wolfssl< 5.9.1-r0
Debian1 product
  • wolfsslAll versions (No fix recorded)
Ubuntu1 product
  • wolfsslAll versions (No fix recorded)
Wolfssl1 product

4 vendors · 4 products

References

6 links