CVE intelligence and bounded remediation
CVE-2018-7899 — Huawei Berkeley-Al20 Firmware security vulnerability
The Mali Driver of Huawei Berkeley-AL20 and Berkeley-BD smart phones with software Berkeley-AL20 8.0.0.105(C00), 8.0.0.111(C00), 8.0.0.112D(C00), 8.0.0.116(C00), 8.0.0.119(C00), 8.0.0.119D(C00), 8.0.0.122(C00), 8.0.0.132(C00), 8.0.0.132D(C00), 8.0.0.142(C00), 8.0.0.151(C00), Berkeley-BD 1.0.0.21, 1.0.0.22, 1.0.0.23, 1.0.0.24, 1.0.0.26, 1.0.0.29 has a double free vulnerability. An attacker can trick a user to install a malicious application and exploit this vulnerability when in the exception handling process. Successful exploitation may cause system reboot.
- Severity
- High
- CVSS
- 7.1 (2.0)
- Published
- 2018-04-19
- CISA KEV
- Not currently listed
- Ecosystem
- operating-system
- Weaknesses
- CWE-415
Affected products
- huawei / berkeley-al20_firmware / 8.0.0.105(c00)
- huawei / berkeley-al20_firmware / 8.0.0.111(c00)
- huawei / berkeley-al20_firmware / 8.0.0.112d(c00)
- huawei / berkeley-al20_firmware / 8.0.0.116(c00)
- huawei / berkeley-al20_firmware / 8.0.0.119(c00)
- huawei / berkeley-al20_firmware / 8.0.0.119d(c00)
Matched remediation archetype
Buffer bounds, memory safety, and memory corruption
This catalog composition supplies bounded fallback guidance. Explicitly reviewed curated workflows load with the complete record below.
Check exposure
- Identify affected native-code versions, build flags, architectures, parsers, codecs, drivers, and input paths in all shipped artifacts.
- Determine whether untrusted data reaches the affected routine and the process privilege, sandbox, and network exposure.
- Confirm statically linked, vendored, firmware, and platform-provided copies, not only package-manager records.
Remediate safely
- Apply the maintained upstream correction or replace the affected component, then rebuild every dependent artifact from clean inputs.
- Adopt bounds-checked interfaces, validated sizes and integer conversions, clear ownership, and memory-safe components where practical.
- Enable supported compiler and runtime hardening and add sanitized tests and fuzz regression seeds derived from non-weaponized fixtures.
Authoritative sources
Complete CVE record and remediation plan
The detailed catalog view below loads this exact record, its source evidence, and the full seven-phase agentic change plan.