CVE-2018-9989

Source
https://cve.org/CVERecord?id=CVE-2018-9989
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-9989.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-9989
Downstream
DEBIAN (1)
MGASA (1)
openSUSE (2)
UBUNTU (1)
Related
Published
2018-04-10T19:29:00Z
Modified
2026-10-24T14:03:32Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

ARM mbed TLS before 2.1.11, before 2.7.2, and before 2.8.0 has a buffer over-read in ssl_parse_server_psk_hint() that could cause a crash on invalid input.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "8.0"
                        },
                        {
                            "last_affected": "8.0"
                        },
                        {
                            "introduced": "9.0"
                        },
                        {
                            "last_affected": "9.0"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/Mbed-TLS/mbedtls

Affected ranges

Type
GIT
Repo
https://github.com/Mbed-TLS/mbedtls
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.1.11"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2.7.0"
                },
                {
                    "fixed": "2.7.2"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

Other
beta-oob-2
mbedtls-2.*
mbedtls-2.0.0
mbedtls-2.1.0
mbedtls-2.1.1
mbedtls-2.1.10
mbedtls-2.1.11-rc1
mbedtls-2.1.2
mbedtls-2.1.3
mbedtls-2.1.4
mbedtls-2.1.5
mbedtls-2.1.6
mbedtls-2.1.8
mbedtls-2.1.9
mbedtls-2.1.9-rc1
mbedtls-2.7.0
mbedtls-2.7.1
mbedtls-2.7.2-rc1
polarssl-1.*
polarssl-1.2.0
polarssl-1.2.1
polarssl-1.2.2
polarssl-1.2.4
polarssl-1.2.5
polarssl-1.2.6
polarssl-1.3.0
polarssl-1.3.0-rc0
polarssl-1.3.1
polarssl-1.3.2
polarssl-1.3.3
polarssl-1.3.4
polarssl-1.3.5
polarssl-1.3.6
polarssl-1.3.7
polarssl-1.3.8
polarssl-1.3.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-9989.json"

Git / github.com/mbed-tls/mbedtls

Affected ranges

Type
GIT
Repo
https://github.com/mbed-tls/mbedtls
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:trustedfirmware:mbed_tls:2.8.0:rc1:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "2.8.0-rc1"
                },
                {
                    "last_affected": "2.8.0-rc1"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "range": [
                {
                    "fixed": "5224a7544c95552553e2e6be0b4a789956a6464e"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "740b218386083dc708ce98ccc94a63a95cd5629e"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

2.*
2.8.0-rc1
mbedtls-2.*
mbedtls-2.8.0-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-9989.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "117461203888014430861683533234656718512",
                "243825661406862980169231204533098741260",
                "2493167677520519019066058455255881707"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-9989-33b2e7ed",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mbed-tls/mbedtls/commit/740b218386083dc708ce98ccc94a63a95cd5629e",
        "target": {
            "file": "library/ssl_cli.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "314921054803960153312991629036160735432",
            "length": 505
        },
        "id": "CVE-2018-9989-422b6ae2",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mbed-tls/mbedtls/commit/740b218386083dc708ce98ccc94a63a95cd5629e",
        "target": {
            "file": "library/ssl_cli.c",
            "function": "ssl_parse_server_psk_hint"
        }
    }
]
vanir_signatures_modified
"2026-10-24T14:03:32Z"