CVE-2026-5187CRITICAL 9.8EPSS p19.9%

CVE-2026-5187CVE-2026-5187

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS0.28% probability of exploitation · percentile 19.9% · 2026-06-18T12:00:27Z
Published2026-04-09
Last modified2026-04-16

Underlying weaknesses· 2

CWE-122CWE-787

References

  1. https://github.com/wolfSSL/wolfssl

2

TypeTargetConfidenceTier
WeaknessHeap-based Buffer Overflowcwe-1220%live
WeaknessOut-of-bounds Writecwe-7870%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-5295
CVE
CVE-2026-5188
CVE
CVE-2026-4395
CVE
CVE-2026-2646
CVE
CVE-2026-3548
CVE
CVE-2026-5393
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.