{"id":"JLSEC-2026-714","details":"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.","modified":"2026-07-25T18:24:00.390351814Z","published":"2026-07-14T21:41:35.775Z","upstream":["CVE-2026-5187","EUVD-2026-21068"],"database_specific":{"sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5187","database_specific":{"status":"Analyzed"},"id":"CVE-2026-5187","imported":"2026-07-17T22:29:28.882Z","modified":"2026-06-17T10:58:34.337Z","published":"2026-04-09T20:16:28.233Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-5187"},{"modified":"2026-04-14T14:04:53Z","published":"2026-04-09T19:45:39Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-21068","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-21068","id":"EUVD-2026-21068","imported":"2026-07-17T22:29:38.861Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/wolfSSL/wolfssl"}],"affected":[{"package":{"name":"wolfSSL_jll","ecosystem":"Julia","purl":"pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.9.2+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-714.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}