ALPINE-CVE-2026-5187

Source
https://security.alpinelinux.org/vuln/CVE-2026-5187
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-5187.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2026-5187
Upstream
Published
2026-04-09T20:16:28Z
Modified
2026-11-03T06:32:58Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Alpine:v3.23 / wolfssl

Package

Name
wolfssl
Purl
pkg:apk/alpine/wolfssl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.9.1-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-5187.json"

Alpine:v3.24 / wolfssl

Package

Name
wolfssl
Purl
pkg:apk/alpine/wolfssl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.9.1-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-5187.json"