VULNERABILITY INTELLIGENCE

CVE-2019-18840

CVSS score7.5 HIGH
EPSS probability1.97%
CISA KEVNot currently listed
Published2019-11-09
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

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.

Weakness classification

  • nvd@nist.gov: CWE-787

Primary references