This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy

Security Advisory - Out-of-bounds Write Vulnerability on Several Smartphones

  • SA No:huawei-sa-20181128-02-smartphone
  • Initial Release Date: 2018-11-28
  • Last Release Date: 2018-11-28

There is an out-of-bounds write vulnerability on several smartphones. The software does not handle the response message properly when the user doing certain inquiry operation, an attacker could send crafted message to the device, successful exploit could cause a denial of service condition. (Vulnerability ID: HWPSIRT-2018-07155)

This vulnerability has been assigned a Common Vulnerabilities and Exposures (CVE) ID: CVE-2018-7987.

Huawei has released software updates to fix this vulnerability. This advisory is available at the following link:

http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20181128-02-smartphone-en


Product Name

Affected Version

Resolved Product and Version

Huawei P20

The versions before 8.1.0.171(C00)

8.1.0.171(C00)


Successful exploit could cause a denial of service condition.


The vulnerability classification has been performed by using the CVSSv3 scoring system (http://www.first.org/cvss/specification-document).

Base Score: 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)

Temporal Score: 5.5 (E:F/RL:O/RC:C)



This vulnerability can be exploited only when the following conditions are present:

The user does certain inquiry operation and the attacker tampers the response message.

Vulnerability details:

The software does not handle the response message properly when the user doing certain inquiry operation, an attacker could send crafted message to the device, successful exploit could cause a denial of service condition.


Smart phones that support automatic update will receive a system update prompt. You can install the update to fix the vulnerability.

This vulnerability was reported to Huawei PSIRT by Tencent Keen Security Lab. Huawei would like to thank Tencent Keen Security Lab with us and coordinated vulnerability disclosure to protect our customers.


2018-11-28 V1.0 INITIAL


Huawei adheres to protecting the ultimate interests of users with best efforts and the principle of responsible disclosure and deal with product security issues through our response mechanism.

To enjoy Huawei PSIRT services and obtain Huawei product vulnerability information, please visit http://www.huawei.com/en/psirt.

To report a security vulnerability in Huawei products and solutions, please send it to PSIRT@huawei.com. For details, please visit http://www.huawei.com/en/psirt/report-vulnerabilities.

This document is provided on an "AS IS" basis and does not imply any kind of guarantee or warranty, either express or implied, including the warranties of merchantability or fitness for a particular purpose. In no event shall Huawei or any of its directly or indirectly controlled subsidiaries or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. Your use of the document, by whatsoever means, will be totally at your own risk. Huawei is entitled to amend or update this document from time to time.