# CVE-2020-8899: Memory corruption in Quram library when decoding qmg can lead to RCE

- Severity: Critical 10.0 (CVSS:4.0, scored by Google) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L`
- 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): 6.08%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-05-06T16:25:12.588Z
- Modified: 2026-06-17T03:27:08.967Z
- Weaknesses: CWE-122, CWE-787
- Assigned by: Google

## Description

There is a buffer overwrite vulnerability in the Quram qmg library of Samsung's Android OS versions O(8.x), P(9.0) and Q(10.0). An unauthenticated, unauthorized attacker sending a specially crafted MMS to a vulnerable phone can trigger a heap-based buffer overflow in the Quram image codec leading to an arbitrary remote code execution (RCE) without any user interaction. The Samsung ID is SVE-2020-16747.

(As written by CVE List.)

## Affected

- Samsung Android OS: 9.0; 10.0; 8.0
- google android: 8.0; 8.1; 9.0; 10.0

## Every score

- Google: CVSS:4.0 10.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://bugs.chromium.org/p/project-zero/issues/detail?id=2002> (exploit, issue-tracking, third-party-advisory)
- <http://packetstormsecurity.com/files/157620/Samsung-Android-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)
- <https://security.samsungmobile.com/securityUpdate.smsb> (vendor-advisory)
- <https://www.kb.cert.org/vuls/id/366027> (third-party-advisory, us-government-resource)

## Sources

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

---

Page: https://cve.day/CVE-2020-8899 · Whole record: https://cve.day/CVE-2020-8899.json · Rebuilt by cve.day 2026-11-25T22:57:52.319Z
