CVE Explorer
CVE-2026-5187
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 b
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a5d8d10f63ccbd1dc247cd18fa78e17147b925b97d8dfac0d3ba8da86872d01f · sha256:b52e2bf6ed880179… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a5d8d10f63ccbd1dc247cd18fa78e17147b925b97d8dfac0d3ba8da86872d01f · sha256:b52e2bf6ed880179… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","modules":["wolfcrypt/src/asn.c"],"product":"wolfSSL","programFiles":["wolfcrypt/src/asn.c"],"vendor":"wolfSSL","versions":[{"lessThanOrEqual":"5.9.0","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a5d8d10f63ccbd1dc247cd18fa78e17147b925b97d8dfac0d3ba8da86872d01f · sha256:b52e2bf6ed880179… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.3,"baseSeverity":"LOW","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a5d8d10f63ccbd1dc247cd18fa78e17147b925b97d8dfac0d3ba8da86872d01f · sha256:b52e2bf6ed880179… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a5d8d10f63ccbd1dc247cd18fa78e17147b925b97d8dfac0d3ba8da86872d01f · sha256:b52e2bf6ed880179… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a5d8d10f63ccbd1dc247cd18fa78e17147b925b97d8dfac0d3ba8da86872d01f · sha256:b52e2bf6ed880179… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"wolfSSL GitHub Repository","url":"https://github.com/wolfSSL/wolfssl"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a5d8d10f63ccbd1dc247cd18fa78e17147b925b97d8dfac0d3ba8da86872d01f · sha256:b52e2bf6ed880179… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.