CVE-2019-18840
Last modified
CVE-2019-18840 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.97% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssl | Wolfssl | >= 4.1.0, <= 4.2.0c |
References
- https://github.com/wolfSSL/wolfssl/issues/2555Exploit, Third Party Advisory
- https://github.com/wolfSSL/wolfssl/issues/2555Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-18840?
How severe is CVE-2019-18840?
How do I fix CVE-2019-18840?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-18835Matrix Synapse before 1.5.0 mishandles signature checking on…9.8
- CVE-2019-18836Envoy 1.12.0 allows a remote denial of service because of re…7.5
- CVE-2019-18837An issue was discovered in crun before 0.10.5. With a crafte…8.6
- CVE-2019-18838An issue was discovered in Envoy 1.12.0. Upon receipt of a m…7.5
- CVE-2019-18839FUDForum 3.0.9 is vulnerable to Stored XSS via the nlogin pa…9
- CVE-2019-1884A vulnerability in the web proxy functionality of Cisco Asyn…7.7
- CVE-2019-18841Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick g…7.3
- CVE-2019-18842A cross-site scripting (XSS) vulnerability in the configurat…6.1
- CVE-2019-18844The Device Model in ACRN before 2019w25.5-140000p relies on …7.5
- CVE-2019-18845The MsIo64.sys and MsIo32.sys drivers in Patriot Viper RGB b…7.1
- CVE-2019-18846OX App Suite through 7.10.2 allows SSRF.5
- CVE-2019-18847Enterprise Access Client Auto-Updater allows for Remote Code…9.8
Are you affected by CVE-2019-18840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
