Live threats

All CVEs / Wolfssl

CVE-2019-18840Wolfssl

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Nov 9, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Wolfssl.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
wolfsslwolfssl≥ 4.1.0 ≤ 4.2.0c

Official sources

References

Links published by the sources. Open them with care.