CVE-2019-18840

    Dashboard / Vulnerabilities / CVE-2019-18840

    CVE-2019-18840

    Published: 9 Nov 2019Last Modified: 22 Jul 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 50fbdb961fd8c2d8123064e567ae8ec44167732d
    Fixed -None

    Affected versions

    v4.2.0c
    v4.2.0-stable

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2019-18840 | CVE-DB