# JLSEC-2026-714: Two potential heap out-of-bounds write locations existed in DecodeObjectId() in wolfcrypt/src/asn.c.

- Severity: Critical 9.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-14T21:41:35.775Z
- Modified: 2026-07-25T18:24:00.390Z
- Related: CVE-2026-5187, EUVD-2026-21068

## 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.

(As written by Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): before 5.9.2+0

## Every score

- Julia Security Advisories: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Julia Security Advisories: CVSS: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`

## References

- <https://github.com/wolfSSL/wolfssl> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-714](https://osv.dev/vulnerability/JLSEC-2026-714), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-714 · Whole record: https://cve.day/JLSEC-2026-714.json · Rebuilt by cve.day 2026-11-25T22:56:26.213Z
