# CVE-2021-25518: An improper boundary check in securelog of LDFW and BL31 prior to SMR Dec-2021 Release 1 allows arbitrary memory write and code execution.

- Severity: Medium 6.4 (CVSS:3.1, scored by Samsung Mobile) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2021-12-08T14:20:06.000Z
- Modified: 2026-06-17T03:42:13.900Z
- Weaknesses: CWE-119, CWE-787
- Assigned by: Samsung Mobile

## Description

An improper boundary check in secure_log of LDFW and BL31 prior to SMR Dec-2021 Release 1 allows arbitrary memory write and code execution.

(As written by CVE List.)

## Affected

- Samsung Mobile Samsung Mobile Devices: from P(9.0), Q(10.0), R(11.0) devices with selected Exynos chipsets before SMR Dec-2021 Release 1
- google android: 9.0; 10.0; 11.0

## Every score

- Samsung Mobile: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://security.samsungmobile.com/securityUpdate.smsb?year=2021&month=12> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-25518](https://www.cve.org/CVERecord?id=CVE-2021-25518), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-25518](https://nvd.nist.gov/vuln/detail/CVE-2021-25518), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25518 · Whole record: https://cve.day/CVE-2021-25518.json · Rebuilt by cve.day 2026-11-25T22:58:05.879Z
