CVE-2019-18840
Fixed in a distro release EPSS 2%CVSS 7.5
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.
Products: wolfssl
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | wolfssl | 4.2.0+dfsg-3 |
| Debian 13 | wolfssl | 4.2.0+dfsg-3 |
| Ubuntu 20.04 LTS | wolfssl | 4.2.0+dfsg-3 |