CVE-2026-5187
Two potential heap out-of-bounds write locations existed in DecodeObje ...
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut Julia (niedrig).
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| alpine 3.23 | wolfssl | 5.9.1-r0 |
| alpine 3.24 | wolfssl | 5.9.1-r0 |
| alpine edge | wolfssl | 5.9.1-r0 |
| debian 11 | wolfssl | kein Fix angegeben |
| debian 12 | wolfssl | kein Fix angegeben |
| debian 13 | wolfssl | kein Fix angegeben |
| echo | wolfssl | kein Fix angegeben |
| julia::Julia Ecosystem Security Advisories | wolfSSL_jll | 5.9.2+0 |
| rapidfort alpine 3.20 | wolfssl | 5.9.1-r0 |
| rapidfort alpine 3.21 | wolfssl | 5.9.1-r0 |
| rapidfort alpine 3.22 | wolfssl | 5.9.1-r0 |
| rapidfort debian 12 | wolfssl | 0:5.9.1-0.1 |
Alle 13 Einträge aus 13 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| alpine 3.23 | wolfssl | 5.9.1-r0 |
| alpine 3.24 | wolfssl | 5.9.1-r0 |
| alpine edge | wolfssl | 5.9.1-r0 |
| debian 11 | wolfssl | kein Fix angegeben |
| debian 12 | wolfssl | kein Fix angegeben |
| debian 13 | wolfssl | kein Fix angegeben |
| echo | wolfssl | kein Fix angegeben |
| julia::Julia Ecosystem Security Advisories | wolfSSL_jll | 5.9.2+0 |
| rapidfort alpine 3.20 | wolfssl | 5.9.1-r0 |
| rapidfort alpine 3.21 | wolfssl | 5.9.1-r0 |
| rapidfort alpine 3.22 | wolfssl | 5.9.1-r0 |
| rapidfort debian 12 | wolfssl | 0:5.9.1-0.1 |
| rapidfort debian 13 | wolfssl | 0:5.9.1-0.1 |