CVE-2019-18840
HIGHwolfSSL 4.1.0-4.2.0c - Heap-Based Buffer Overflow in ASN.1 Certificate Parsing
Title source: llmDescription
In wolfSSL 4.1.0 through 4.2.0c, there are missing sanity checks of memory accesses in parsing ASN.1 certificate data while handshaking. Specifically, there is a one-byte heap-based buffer overflow inside the DecodedCert structure in GetName in wolfcrypt/src/asn.c because the domain name location index is mishandled. Because a pointer is overwritten, there is an invalid free.
References (1)
Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/wolfSSL/wolfssl/issues/2555
Scores
CVSS v3
7.5
EPSS
0.0197
EPSS Percentile
78.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-787
Status
published
Products (1)
wolfssl/wolfssl
4.1.0 - 4.2.0c
Published
Nov 09, 2019
Tracked Since
Feb 18, 2026