{"schemaVersion":3,"id":"CVE-2017-8142","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"The Trusted Execution Environment (TEE) module driver of Mate 9 and Mate 9 Pro smart phones with software versions earlier than MHA-AL00BC00B221 and versions earlier than LON-AL00BC00B221 has a use after free (UAF) vulnerability. An attacker tricks a user into installing a malicious application, and the application can start multiple threads and try to create and free specific memory, which could triggers access memory after free it and causes a system crash or arbitrary code execution.","dates":{"published":"2017-11-22T19:00:00.000Z","modified":"2024-09-16T19:04:22.668Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01067,"percentile":0.64299,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01067},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01494,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01067,"percentile":0.64299}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01494,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01067,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01067,"percentile":0.64299}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"huawei technologies co., ltd.","product":"mate 9, mate 9 pro","name":"Mate 9, Mate 9 Pro","label":"mate 9, mate 9 pro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"Versions earlier than MHA-AL00BC00B221, Versions earlier than LON-AL00BC00B221","noFixRecorded":false,"fixedIn":null}],"versionsText":"Versions earlier than MHA-AL00BC00B221, Versions earlier than LON-AL00BC00B221","eol":null,"hubHref":"/vendor/huawei_technologies_co_ltd/mate_9_mate_9_pro"},{"vendor":"huawei","product":"mate_9_firmware","name":"mate 9 firmware","label":"mate_9_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< mha-al00bc00b221","noFixRecorded":false,"fixedIn":null}],"versionsText":"< mha-al00bc00b221","eol":null,"hubHref":"/vendor/huawei/mate_9"},{"vendor":"huawei","product":"mate_9_pro_firmware","name":"mate 9 pro firmware","label":"mate_9_pro_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"< lon-al00bc00b221","noFixRecorded":false,"fixedIn":null}],"versionsText":"< lon-al00bc00b221","eol":null,"hubHref":"/vendor/huawei/mate_9_pro"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20170615-01-smartphone-en","label":"www.huawei.com/en/psirt/security-advisories/huawei-sa-20170615-01-smartphone-en","hostname":"www.huawei.com","tags":["X Refsource CONFIRM","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-11-22T19:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T19:04:22.668Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T22:59:15.565Z","stale":false,"partial":false}}